Code optimizations wrt handling of None - bug 2212

svn: r10811
This commit is contained in:
Gerald Britton
2008-06-16 15:01:46 +00:00
parent 47095b4e98
commit 4982292774
124 changed files with 379 additions and 377 deletions

View File

@@ -216,7 +216,7 @@ class MediaMan(Tool.Tool):
self.batch_settings = ix
box.show_all()
else:
if self.batch_settings != None:
if self.batch_settings is not None:
self.w.remove_page(self.settings_page)
self.settings_page = None
self.confirm_page -= 1