mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
move "from stat import *" to module level
This commit is contained in:
parent
ee826f88c9
commit
2fa699ec60
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue