From: Guido van Rossum Date: Tue, 31 Mar 1992 19:06:54 +0000 (+0000) Subject: use std module os X-Git-Tag: v0.9.8~404 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf1710ac5ffc8c38d7b0afd51db4c1ae26673676;p=thirdparty%2FPython%2Fcpython.git use std module os --- diff --git a/Lib/importall.py b/Lib/importall.py index 469e9c6845cc..1d2037710581 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...