commit | 936654bce0444cad8259a7585722dcb06a0f1ec8 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Jun 01 03:06:31 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Jun 01 03:06:31 2002 +0000 |
tree | 14e637264e48d13499484c7666fbfbf2d46eac8f | |
parent | 094662a16542d1cc56713b35dde39089490dec35 [diff] [blame] |
Replaced boolean test with is None
diff --git a/Lib/imputil.py b/Lib/imputil.py index 65e799c..d83b16e 100644 --- a/Lib/imputil.py +++ b/Lib/imputil.py
@@ -66,7 +66,7 @@ # 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