From b9e7c012942f0cfb827686636e4fa718aba173f5 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 21 May 2010 21:32:49 +0000 Subject: [PATCH] remove debugging rubish --- Lib/linecache.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/linecache.py b/Lib/linecache.py index c9998515b2c..da62f0d1751 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'