summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-31 19:06:54 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-31 19:06:54 (GMT)
commitbf1710ac5ffc8c38d7b0afd51db4c1ae26673676 (patch)
tree8fdfe9acb3c5676b2cb0f60e940d768214340aad /Lib
parent50399ae583a2b675ad5d38e77feb05372d63275d (diff)
downloadcpython-bf1710ac5ffc8c38d7b0afd51db4c1ae26673676.zip
cpython-bf1710ac5ffc8c38d7b0afd51db4c1ae26673676.tar.gz
cpython-bf1710ac5ffc8c38d7b0afd51db4c1ae26673676.tar.bz2
use std module os
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/importall.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/Lib/importall.py b/Lib/importall.py
index 469e9c6..1d20377 100755
--- a/Lib/importall.py
+++ b/Lib/importall.py
@@ -1,17 +1,7 @@
# Utility module to import all modules in the path, in the hope
# that this will update their ".pyc" files.
-# First, see if this is the Mac or UNIX
-try:
- import posix
- os = posix
- import path
-except ImportError:
- import mac
- os = mac
- import macpath
- path = macpath
-
+import os
import sys
# Sabotage 'gl' and 'stdwin' to prevent windows popping up...