From bf1710ac5ffc8c38d7b0afd51db4c1ae26673676 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 31 Mar 1992 19:06:54 +0000 Subject: [PATCH] use std module os --- Lib/importall.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Lib/importall.py b/Lib/importall.py index 469e9c6845c..1d203771058 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...