Commit e30b3fa1 authored by Benjamin Peterson's avatar Benjamin Peterson

these lines can now be dispensed with

parent 001a3952
......@@ -109,8 +109,6 @@ def compile(file, cfile=None, dfile=None, doraise=False):
except AttributeError:
timestamp = long(os.stat(file).st_mtime)
codestring = f.read()
if codestring and codestring[-1] != '\n':
codestring = codestring + '\n'
try:
codeobject = __builtin__.compile(codestring, dfile or file,'exec')
except Exception,err:
......
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