Replaced boolean test with is None

This commit is contained in:
Raymond Hettinger 2002-06-01 03:06:31 +00:00
parent 094662a165
commit 936654bce0
3 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ class ImportManager:
# This is the Importer that we use for grabbing stuff from the
# filesystem. It defines one more method (import_from_dir) for our use.
if not fs_imp:
if fs_imp is None:
cls = self.clsFilesystemImporter or _FilesystemImporter
fs_imp = cls()
self.fs_imp = fs_imp