diff options
author | Guido van Rossum <guido@python.org> | 1998-10-17 18:09:27 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-17 18:09:27 (GMT) |
commit | d54fb7ae9b2032155cb321bf5e9b5dac9983bfa5 (patch) | |
tree | 5dff43d3fd5e64f2e5ea81e416a35334c4c1cc1e /Lib/dos-8x3/py_compi.py | |
parent | f3dcafecd3827aa5c6a99c807c3300ec8f65f650 (diff) | |
download | cpython-d54fb7ae9b2032155cb321bf5e9b5dac9983bfa5.zip cpython-d54fb7ae9b2032155cb321bf5e9b5dac9983bfa5.tar.gz cpython-d54fb7ae9b2032155cb321bf5e9b5dac9983bfa5.tar.bz2 |
The usual
Diffstat (limited to 'Lib/dos-8x3/py_compi.py')
-rwxr-xr-x | Lib/dos-8x3/py_compi.py | 2 |
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() |