Commit b9e7c012 authored by Benjamin Peterson's avatar Benjamin Peterson

remove debugging rubish

parent 266e4548
...@@ -123,15 +123,12 @@ def updatecache(filename, module_globals=None): ...@@ -123,15 +123,12 @@ def updatecache(filename, module_globals=None):
except os.error: except os.error:
pass pass
else: else:
# No luck
## print '*** Cannot stat', filename, ':', msg
return [] return []
try: try:
fp = open(fullname, 'rU') fp = open(fullname, 'rU')
lines = fp.readlines() lines = fp.readlines()
fp.close() fp.close()
except IOError, msg: except IOError, msg:
## print '*** Cannot open', fullname, ':', msg
return [] return []
if lines and not lines[-1].endswith('\n'): if lines and not lines[-1].endswith('\n'):
lines[-1] += '\n' lines[-1] += '\n'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment