Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e628a2fa
Kaydet (Commit)
e628a2fa
authored
Tem 25, 2001
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't "import *" from stat at all -- just import what's needed, and
do it back in copy_file() (not at module level).
üst
41d7d58c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
file_util.py
Lib/distutils/file_util.py
+1
-1
No files found.
Lib/distutils/file_util.py
Dosyayı görüntüle @
e628a2fa
...
...
@@ -8,7 +8,6 @@ Utility functions for operating on single files.
__revision__
=
"$Id$"
import
os
from
stat
import
*
from
distutils.errors
import
DistutilsFileError
...
...
@@ -108,6 +107,7 @@ def copy_file (src, dst,
# (not update) and (src newer than dst).
from
distutils.dep_util
import
newer
from
stat
import
ST_ATIME
,
ST_MTIME
,
ST_MODE
,
S_IMODE
if
not
os
.
path
.
isfile
(
src
):
raise
DistutilsFileError
,
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment