Revision: 7353
Author: siebrand
Date: 2009-10-02 09:36:54 +0000 (Fri, 02 Oct 2009)
Log Message:
-----------
[ #2783408 ] weblinkchecker warning
Patch by xqt
Modified Paths:
--------------
trunk/pywikipedia/weblinkchecker.py
Modified: trunk/pywikipedia/weblinkchecker.py
===================================================================
--- trunk/pywikipedia/weblinkchecker.py 2009-10-02 09:35:30 UTC (rev 7352)
+++ trunk/pywikipedia/weblinkchecker.py 2009-10-02 09:36:54 UTC (rev 7353)
@@ -789,6 +789,7 @@
# that are also used by other scripts and that determine on which pages
# to work on.
genFactory = pagegenerators.GeneratorFactory()
+ global day
day = 7
for arg in wikipedia.handleArgs():
if arg == '-talk':
@@ -805,7 +806,6 @@
elif arg.startswith('-ignore:'):
HTTPignore.append(int(arg[8:]))
elif arg.startswith('-day:'):
- global day
day = int(arg[5:])
else:
if not genFactory.handleArg(arg):
_______________________________________________
Pywikipedia-svn mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn