diff options
| author | Raymond Hettinger <python@rcn.com> | 2002-06-01 03:06:31 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2002-06-01 03:06:31 +0000 |
| commit | 936654bce0444cad8259a7585722dcb06a0f1ec8 (patch) | |
| tree | 14e637264e48d13499484c7666fbfbf2d46eac8f /Lib/imputil.py | |
| parent | 094662a16542d1cc56713b35dde39089490dec35 (diff) | |
| download | cpython-git-936654bce0444cad8259a7585722dcb06a0f1ec8.tar.gz | |
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 65e799cd49..d83b16e20f 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 |
