diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-01 03:06:31 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-01 03:06:31 (GMT) |
commit | 936654bce0444cad8259a7585722dcb06a0f1ec8 (patch) | |
tree | 14e637264e48d13499484c7666fbfbf2d46eac8f /Lib/imputil.py | |
parent | 094662a16542d1cc56713b35dde39089490dec35 (diff) | |
download | cpython-936654bce0444cad8259a7585722dcb06a0f1ec8.zip cpython-936654bce0444cad8259a7585722dcb06a0f1ec8.tar.gz cpython-936654bce0444cad8259a7585722dcb06a0f1ec8.tar.bz2 |
Replaced boolean test with is None
Diffstat (limited to 'Lib/imputil.py')
-rw-r--r-- | Lib/imputil.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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 |