diff options
Diffstat (limited to 'Lib/plat-irix5/flp.py')
-rwxr-xr-x | Lib/plat-irix5/flp.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/plat-irix5/flp.py b/Lib/plat-irix5/flp.py index e6608f8..fcc95f0 100755 --- a/Lib/plat-irix5/flp.py +++ b/Lib/plat-irix5/flp.py @@ -4,7 +4,7 @@ # Jack Jansen, December 1991 # import string -import path +import os import sys import FL @@ -106,11 +106,11 @@ def wrlong(fp, x): fp.write(chr(a) + chr(b) + chr(c) + chr(d)) def getmtime(filename): - import posix + import os from stat import ST_MTIME try: - return posix.stat(filename)[ST_MTIME] - except posix.error: + return os.stat(filename)[ST_MTIME] + except os.error: return None # @@ -157,7 +157,7 @@ def _open_formfile2(filename): fp = None else: for pc in sys.path: - pn = path.join(pc, filename) + pn = os.path.join(pc, filename) try: fp = open(pn, 'r') filename = pn |