From: Benjamin Peterson Date: Fri, 21 May 2010 21:32:49 +0000 (+0000) Subject: remove debugging rubish X-Git-Tag: v2.7rc1~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9e7c012942f0cfb827686636e4fa718aba173f5;p=python remove debugging rubish --- 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'