Cast mtime gotten from stat() to long int -- else it won't work
on the Mac. Jack! Please fix this in the Mac distributions!
This commit is contained in:
parent
8542c8e1af
commit
9b67621b66
|
@ -16,7 +16,7 @@ def compile(file, cfile = None):
|
|||
f = open(file)
|
||||
codestring = f.read()
|
||||
f.close()
|
||||
timestamp = os.stat(file)[8]
|
||||
timestamp = long(os.stat(file)[8])
|
||||
codeobject = __builtin__.compile(codestring, file, 'exec')
|
||||
if not cfile:
|
||||
cfile = file + 'c'
|
||||
|
|
Loading…
Reference in New Issue