Ed Leafe wrote: > On Aug 22, 2007, at 1:10 PM, johnf wrote: > >>> Fixed my most recent problem with starting up my app after the recent >>> changes: _userSQL was getting set to "" instead of None, which >>> changed the >>> logic. >> Ed this apparently fixed my last Traceback because I no longer have >> the error. > > Yeah, I see where the old error-assigning code used None, and I used > an empty string in the attribute declaration. > > That said, is it still a good idea to check for UserSQL being None, > as opposed to "if not UserSQL"?
None is more explicit, but I could go either way. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]
