summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-01-31 20:07:17 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-01-31 20:07:17 (GMT)
commit2fa699ec601421288564e0688e7ef773810453f4 (patch)
treea6494817979d0e210d40d80dc4e473a0530b1bc9 /Lib/distutils
parentee826f88c94d1c13b284c71de2df0bd75c5f5c60 (diff)
downloadcpython-2fa699ec601421288564e0688e7ef773810453f4.zip
cpython-2fa699ec601421288564e0688e7ef773810453f4.tar.gz
cpython-2fa699ec601421288564e0688e7ef773810453f4.tar.bz2
move "from stat import *" to module level
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/file_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py
index a9e12ce..39f6eea 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):