Commit 00511f9a authored by Jeremy Hylton's avatar Jeremy Hylton

move "from stat import *" to module level

parent 6e57eb60
...@@ -8,6 +8,7 @@ Utility functions for operating on single files. ...@@ -8,6 +8,7 @@ Utility functions for operating on single files.
__revision__ = "$Id$" __revision__ = "$Id$"
import os import os
from stat import *
from distutils.errors import DistutilsFileError from distutils.errors import DistutilsFileError
...@@ -106,7 +107,6 @@ def copy_file (src, dst, ...@@ -106,7 +107,6 @@ def copy_file (src, dst,
# changing it (ie. it's not already a hard/soft link to src OR # changing it (ie. it's not already a hard/soft link to src OR
# (not update) and (src newer than dst). # (not update) and (src newer than dst).
from stat import *
from distutils.dep_util import newer from distutils.dep_util import newer
if not os.path.isfile(src): if not os.path.isfile(src):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment