summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/py_compi.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-17 18:09:27 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-17 18:09:27 (GMT)
commitd54fb7ae9b2032155cb321bf5e9b5dac9983bfa5 (patch)
tree5dff43d3fd5e64f2e5ea81e416a35334c4c1cc1e /Lib/dos-8x3/py_compi.py
parentf3dcafecd3827aa5c6a99c807c3300ec8f65f650 (diff)
downloadcpython-d54fb7ae9b2032155cb321bf5e9b5dac9983bfa5.zip
cpython-d54fb7ae9b2032155cb321bf5e9b5dac9983bfa5.tar.gz
cpython-d54fb7ae9b2032155cb321bf5e9b5dac9983bfa5.tar.bz2
The usual
Diffstat (limited to 'Lib/dos-8x3/py_compi.py')
-rwxr-xr-xLib/dos-8x3/py_compi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dos-8x3/py_compi.py b/Lib/dos-8x3/py_compi.py
index a6d03d7..e1d0d70 100755
--- a/Lib/dos-8x3/py_compi.py
+++ b/Lib/dos-8x3/py_compi.py
@@ -44,7 +44,7 @@ def compile(file, cfile=None, dfile=None):
import os, marshal, __builtin__
f = open(file)
try:
- timestamp = os.fstat(file.fileno())
+ timestamp = long(os.fstat(f.fileno())[8])
except AttributeError:
timestamp = long(os.stat(file)[8])
codestring = f.read()