Revision: 7666
Author:   a_engels
Date:     2009-11-18 01:13:26 +0000 (Wed, 18 Nov 2009)

Log Message:
-----------
Bot was stopping on too many pages in autonomous mode (for example when first a 
'good' page and later a disambiguation page would be found in the same language)

Modified Paths:
--------------
    trunk/pywikipedia/interwiki.py

Modified: trunk/pywikipedia/interwiki.py
===================================================================
--- trunk/pywikipedia/interwiki.py      2009-11-17 12:24:54 UTC (rev 7665)
+++ trunk/pywikipedia/interwiki.py      2009-11-18 01:13:26 UTC (rev 7666)
@@ -1186,7 +1186,7 @@
                     iw = ()
                     self.workonme = False
 
-            elif globalvar.autonomous and duplicate:
+            elif globalvar.autonomous and duplicate and not skip:
                 
                 pywikibot.output(u"Stopping work on %s because duplicate 
pages"\
                     " %s and %s are found" % (self.originPage.aslink(True), 



_______________________________________________
Pywikipedia-svn mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn

Reply via email to