Code optimizations wrt handling of None - bug 2212
svn: r10811
This commit is contained in:
@ -154,7 +154,7 @@ class FtreeWriter:
|
||||
self.option_box.parse_options()
|
||||
|
||||
self.restrict = self.option_box.restrict
|
||||
if self.option_box.cfilter == None:
|
||||
if self.option_box.cfilter is None:
|
||||
for p in self.db.get_person_handles(sort_handles=False):
|
||||
self.plist[p] = 1
|
||||
else:
|
||||
|
Reference in New Issue
Block a user