From: Jeremy Hylton Date: Wed, 31 Jan 2001 20:07:17 +0000 (+0000) Subject: move "from stat import *" to module level X-Git-Tag: v2.1a2~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fa699ec601421288564e0688e7ef773810453f4;p=thirdparty%2FPython%2Fcpython.git move "from stat import *" to module level --- diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py index a9e12ce3f30a..39f6eea28964 100644 --- a/Lib/distutils/file_util.py +++ b/Lib/distutils/file_util.py @@ -8,6 +8,7 @@ Utility functions for operating on single files. __revision__ = "$Id$" import os +from stat import * from distutils.errors import DistutilsFileError @@ -106,7 +107,6 @@ def copy_file (src, dst, # changing it (ie. it's not already a hard/soft link to src OR # (not update) and (src newer than dst). - from stat import * from distutils.dep_util import newer if not os.path.isfile(src):