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
015014ff
Kaydet (Commit)
015014ff
authored
May 01, 2011
tarafından
Éric Araujo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix file handle leak
üst
46c09da3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
sdist.py
Lib/distutils/command/sdist.py
+14
-11
No files found.
Lib/distutils/command/sdist.py
Dosyayı görüntüle @
015014ff
...
@@ -306,17 +306,20 @@ class sdist(Command):
...
@@ -306,17 +306,20 @@ class sdist(Command):
rstrip_ws
=
1
,
rstrip_ws
=
1
,
collapse_join
=
1
)
collapse_join
=
1
)
while
1
:
try
:
line
=
template
.
readline
()
while
1
:
if
line
is
None
:
# end of file
line
=
template
.
readline
()
break
if
line
is
None
:
# end of file
break
try
:
self
.
filelist
.
process_template_line
(
line
)
try
:
except
DistutilsTemplateError
,
msg
:
self
.
filelist
.
process_template_line
(
line
)
self
.
warn
(
"
%
s, line
%
d:
%
s"
%
(
template
.
filename
,
except
DistutilsTemplateError
,
msg
:
template
.
current_line
,
self
.
warn
(
"
%
s, line
%
d:
%
s"
%
(
template
.
filename
,
msg
))
template
.
current_line
,
msg
))
finally
:
template
.
close
()
def
prune_file_list
(
self
):
def
prune_file_list
(
self
):
"""Prune off branches that might slip into the file list as created
"""Prune off branches that might slip into the file list as created
...
...
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