diff options
-rw-r--r-- | Lib/linecache.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py index c9998515b2..da62f0d175 100644 --- a/Lib/linecache.py +++ b/Lib/linecache.py @@ -123,15 +123,12 @@ def updatecache(filename, module_globals=None): except os.error: pass else: - # No luck -## print '*** Cannot stat', filename, ':', msg return [] try: fp = open(fullname, 'rU') lines = fp.readlines() fp.close() except IOError, msg: -## print '*** Cannot open', fullname, ':', msg return [] if lines and not lines[-1].endswith('\n'): lines[-1] += '\n' |