summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-31 19:04:48 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-31 19:04:48 (GMT)
commit25d7cafd8a0650c9ca5185e095f85745b229acdc (patch)
tree40fa47bc8b8e76f18f53558957811cfa0402b358 /Lib/plat-irix5
parent3bc034bb7982078514acb829dcd95ffe67ea2d48 (diff)
downloadcpython-25d7cafd8a0650c9ca5185e095f85745b229acdc.zip
cpython-25d7cafd8a0650c9ca5185e095f85745b229acdc.tar.gz
cpython-25d7cafd8a0650c9ca5185e095f85745b229acdc.tar.bz2
posix -> os
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-xLib/plat-irix5/flp.py10
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