From 2fa699ec601421288564e0688e7ef773810453f4 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Wed, 31 Jan 2001 20:07:17 +0000 Subject: move "from stat import *" to module level --- Lib/distutils/file_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v0.12