summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-21 21:32:49 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-05-21 21:32:49 (GMT)
commitb9e7c012942f0cfb827686636e4fa718aba173f5 (patch)
tree6f4a1fbcee4c2a94b0b4742796a6bc8fd4381d3a
parent266e45486659472d3b7c63d397a8083968a0f33f (diff)
downloadcpython-b9e7c012942f0cfb827686636e4fa718aba173f5.zip
cpython-b9e7c012942f0cfb827686636e4fa718aba173f5.tar.gz
cpython-b9e7c012942f0cfb827686636e4fa718aba173f5.tar.bz2
remove debugging rubish
-rw-r--r--Lib/linecache.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py
index c999851..da62f0d 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'