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
aaf2e188
Kaydet (Commit)
aaf2e188
authored
Şub 06, 2009
tarafından
Tarek Ziadé
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
using >= so setting verbose to 2 will work as well
üst
81fe0934
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dir_util.py
Lib/distutils/dir_util.py
+3
-3
file_util.py
Lib/distutils/file_util.py
+3
-3
No files found.
Lib/distutils/dir_util.py
Dosyayı görüntüle @
aaf2e188
...
...
@@ -63,7 +63,7 @@ def mkpath (name, mode=0777, verbose=1, dry_run=0):
if
_path_created
.
get
(
abs_head
):
continue
if
verbose
=
=
1
:
if
verbose
>
=
1
:
log
.
info
(
"creating
%
s"
,
head
)
if
not
dry_run
:
...
...
@@ -155,7 +155,7 @@ def copy_tree (src, dst,
if
preserve_symlinks
and
os
.
path
.
islink
(
src_name
):
link_dest
=
os
.
readlink
(
src_name
)
if
verbose
=
=
1
:
if
verbose
>
=
1
:
log
.
info
(
"linking
%
s ->
%
s"
,
dst_name
,
link_dest
)
if
not
dry_run
:
os
.
symlink
(
link_dest
,
dst_name
)
...
...
@@ -194,7 +194,7 @@ def remove_tree (directory, verbose=1, dry_run=0):
from
distutils.util
import
grok_environment_error
global
_path_created
if
verbose
=
=
1
:
if
verbose
>
=
1
:
log
.
info
(
"removing '
%
s' (and everything under it)"
,
directory
)
if
dry_run
:
return
...
...
Lib/distutils/file_util.py
Dosyayı görüntüle @
aaf2e188
...
...
@@ -123,7 +123,7 @@ def copy_file (src, dst,
dir
=
os
.
path
.
dirname
(
dst
)
if
update
and
not
newer
(
src
,
dst
):
if
verbose
=
=
1
:
if
verbose
>
=
1
:
log
.
debug
(
"not copying
%
s (output up-to-date)"
,
src
)
return
dst
,
0
...
...
@@ -133,7 +133,7 @@ def copy_file (src, dst,
raise
ValueError
,
\
"invalid value '
%
s' for 'link' argument"
%
link
if
verbose
=
=
1
:
if
verbose
>
=
1
:
if
os
.
path
.
basename
(
dst
)
==
os
.
path
.
basename
(
src
):
log
.
info
(
"
%
s
%
s ->
%
s"
,
action
,
src
,
dir
)
else
:
...
...
@@ -194,7 +194,7 @@ def move_file (src, dst,
from
os.path
import
exists
,
isfile
,
isdir
,
basename
,
dirname
import
errno
if
verbose
=
=
1
:
if
verbose
>
=
1
:
log
.
info
(
"moving
%
s ->
%
s"
,
src
,
dst
)
if
dry_run
:
...
...
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