Suppress warning print statements about modules not found, they are
confusing to end users of IDEs.
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py
index 9e8af35..de3fedc 100644
--- a/Lib/pyclbr.py
+++ b/Lib/pyclbr.py
@@ -297,7 +297,8 @@
# 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 @@
# 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