diff options
author | Guido van Rossum <guido@python.org> | 1999-06-16 12:28:12 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-16 12:28:12 +0000 |
commit | 9f612f9c5a1fb1a35cbe360bfbc3d134da268445 (patch) | |
tree | 45660defa1a9ff923753591912ba66d43f1ae344 /Lib/pyclbr.py | |
parent | Sjoerd Mullender: (diff) | |
download | cpython-9f612f9c5a1fb1a35cbe360bfbc3d134da268445.tar.gz cpython-9f612f9c5a1fb1a35cbe360bfbc3d134da268445.tar.bz2 cpython-9f612f9c5a1fb1a35cbe360bfbc3d134da268445.zip |
Suppress warning print statements about modules not found, they are
confusing to end users of IDEs.
Diffstat (limited to 'Lib/pyclbr.py')
-rw-r--r-- | Lib/pyclbr.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py index 9e8af357564..de3fedce114 100644 --- a/Lib/pyclbr.py +++ b/Lib/pyclbr.py @@ -297,7 +297,8 @@ def readmodule_ex(module, path=[], inpackage=0): # recursively read the imported module d = readmodule(n, path, inpackage) except: - print 'module', n, 'not found' + ##print 'module', n, 'not found' + pass elif m.start("ImportFrom") >= 0: # from module import stuff @@ -307,7 +308,7 @@ def readmodule_ex(module, path=[], inpackage=0): # recursively read the imported module d = readmodule(mod, path, inpackage) except: - print 'module', mod, 'not found' + ##print 'module', mod, 'not found' continue # add any classes that were defined in the # imported module to our name space if they |