]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
use std module os
authorGuido van Rossum <guido@python.org>
Tue, 31 Mar 1992 19:06:54 +0000 (19:06 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 31 Mar 1992 19:06:54 +0000 (19:06 +0000)
Lib/importall.py

index 469e9c6845cc8bf1bfeaed1ca9c21b8b160c0785..1d20377105816bce29f99f58187d3349eb6a72d3 100755 (executable)
@@ -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...