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
ce56c377
Kaydet (Commit)
ce56c377
authored
Şub 27, 2003
tarafından
Mark Hammond
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
When bad HTML is encountered, ignore the page rather than failing with
a traceback.
üst
05595e9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
webchecker.py
Tools/webchecker/webchecker.py
+9
-1
No files found.
Tools/webchecker/webchecker.py
Dosyayı görüntüle @
ce56c377
...
...
@@ -400,7 +400,15 @@ class Checker:
if
local_fragment
and
self
.
nonames
:
self
.
markdone
(
url_pair
)
return
page
=
self
.
getpage
(
url_pair
)
try
:
page
=
self
.
getpage
(
url_pair
)
except
sgmllib
.
SGMLParseError
,
msg
:
msg
=
self
.
sanitize
(
msg
)
self
.
note
(
0
,
"Error parsing
%
s:
%
s"
,
self
.
format_url
(
url_pair
),
msg
)
# Dont actually mark the URL as bad - it exists, just
# we can't parse it!
page
=
None
if
page
:
# Store the page which corresponds to this URL.
self
.
name_table
[
url
]
=
page
...
...
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