Code optimizations wrt handling of None - bug 2212
svn: r10811
This commit is contained in:
@ -76,7 +76,7 @@ class LivingProxyDb(ProxyDbBase):
|
||||
"""
|
||||
ProxyDbBase.__init__(self, dbase)
|
||||
self.mode = mode
|
||||
if current_year != None:
|
||||
if current_year is not None:
|
||||
self.current_date = Date()
|
||||
self.current_date.set_year(current_year)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user