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
1b8e1d4c
Kaydet (Commit)
1b8e1d4c
authored
Nis 26, 2000
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Harry Henry Gebel:
Fix 'sdist.write_manifest()' to respect the value of dry_run.
üst
14f3f59d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sdist.py
Lib/distutils/command/sdist.py
+5
-5
No files found.
Lib/distutils/command/sdist.py
Dosyayı görüntüle @
1b8e1d4c
...
@@ -11,7 +11,8 @@ import fnmatch
...
@@ -11,7 +11,8 @@ import fnmatch
from
types
import
*
from
types
import
*
from
glob
import
glob
from
glob
import
glob
from
distutils.core
import
Command
from
distutils.core
import
Command
from
distutils.util
import
newer
,
create_tree
,
remove_tree
,
native_path
from
distutils.util
import
newer
,
create_tree
,
remove_tree
,
native_path
,
\
write_file
from
distutils.archive_util
import
check_archive_formats
from
distutils.archive_util
import
check_archive_formats
from
distutils.text_file
import
TextFile
from
distutils.text_file
import
TextFile
from
distutils.errors
import
DistutilsExecError
,
DistutilsOptionError
from
distutils.errors
import
DistutilsExecError
,
DistutilsOptionError
...
@@ -447,10 +448,9 @@ class sdist (Command):
...
@@ -447,10 +448,9 @@ class sdist (Command):
by 'find_defaults()' and 'read_template()') to the manifest file
by 'find_defaults()' and 'read_template()') to the manifest file
named by 'self.manifest'."""
named by 'self.manifest'."""
manifest
=
open
(
self
.
manifest
,
"w"
)
self
.
execute
(
write_file
,
for
fn
in
self
.
files
:
(
self
.
manifest
,
self
.
files
),
manifest
.
write
(
fn
+
'
\n
'
)
"writing manifest file"
)
manifest
.
close
()
# write_manifest ()
# write_manifest ()
...
...
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