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
ef7f3bf3
Kaydet (Commit)
ef7f3bf3
authored
Eki 31, 2006
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Change to improve speed of _fixupChildren
üst
1ead6984
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
__init__.py
Lib/logging/__init__.py
+5
-2
No files found.
Lib/logging/__init__.py
Dosyayı görüntüle @
ef7f3bf3
...
@@ -910,9 +910,12 @@ class Manager:
...
@@ -910,9 +910,12 @@ class Manager:
Ensure that children of the placeholder ph are connected to the
Ensure that children of the placeholder ph are connected to the
specified logger.
specified logger.
"""
"""
#for c in ph.loggers:
name
=
alogger
.
name
namelen
=
len
(
name
)
for
c
in
ph
.
loggerMap
.
keys
():
for
c
in
ph
.
loggerMap
.
keys
():
if
string
.
find
(
c
.
parent
.
name
,
alogger
.
name
)
<>
0
:
#The if means ... if not c.parent.name.startswith(nm)
#if string.find(c.parent.name, nm) <> 0:
if
c
.
parent
.
name
[:
namelen
]
!=
name
:
alogger
.
parent
=
c
.
parent
alogger
.
parent
=
c
.
parent
c
.
parent
=
alogger
c
.
parent
=
alogger
...
...
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