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
d3590f93
Kaydet (Commit)
d3590f93
authored
Ock 29, 2003
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Only log a message and chmod() when the mode isn't already what we
want it to be. Log both the old and new mode.
üst
6afc5e02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
build_scripts.py
Lib/distutils/command/build_scripts.py
+6
-3
No files found.
Lib/distutils/command/build_scripts.py
Dosyayı görüntüle @
d3590f93
...
...
@@ -114,9 +114,12 @@ class build_scripts (Command):
if
self
.
dry_run
:
log
.
info
(
"changing mode of
%
s"
,
file
)
else
:
mode
=
((
os
.
stat
(
file
)[
ST_MODE
])
|
0555
)
&
07777
log
.
info
(
"changing mode of
%
s to
%
o"
,
file
,
mode
)
os
.
chmod
(
file
,
mode
)
oldmode
=
os
.
stat
(
file
)[
ST_MODE
]
&
07777
newmode
=
(
oldmode
|
0555
)
&
07777
if
newmode
!=
oldmode
:
log
.
info
(
"changing mode of
%
s from
%
o to
%
o"
,
file
,
oldmode
,
newmode
)
os
.
chmod
(
file
,
newmode
)
# copy_scripts ()
...
...
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