This website works better with JavaScript.
Home
Help
Sign In
ben
/
earwigbot
mirror of
https://github.com/earwig/earwigbot
Watch
1
Star
1
Fork
0
Code
Releases
4
Activity
Browse Source
Add a debug message when catching ParserExclusionError.
tags/v0.2
Ben Kurtovic
9 years ago
parent
c81d1d949d
commit
f52fb06c19
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
earwigbot/wiki/copyvios/workers.py
+ 1
- 0
earwigbot/wiki/copyvios/workers.py
View File
@@ -223,6 +223,7 @@ class _CopyvioWorker(object):
try:
text = self._open_url(source)
except ParserExclusionError:
self._logger.debug("Source excluded by content parser")
source.skipped = source.excluded = True
source.finish_work()
else:
Write
Preview
Loading…
Cancel
Save