http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9173
Revision: 9173
Author: a_engels
Date: 2011-04-15 06:24:58 +0000 (Fri, 15 Apr 2011)
Log Message:
-----------
Do not keep asking after the first give up
Modified Paths:
--------------
trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py
===================================================================
--- trunk/pywikipedia/interwiki.py 2011-04-15 06:07:00 UTC (rev 9172)
+++ trunk/pywikipedia/interwiki.py 2011-04-15 06:24:58 UTC (rev 9173)
@@ -1568,7 +1568,8 @@
else:
if config.interwiki_shownew or pywikibot.verbose:
pywikibot.output(u"%s: %s gives new interwiki %s"% (self.originPage.title(asLink=True), page.aslink(True), linkedPage.aslink(True)))
-
+ if self.forcedStop:
+ break
# These pages are no longer 'in progress'
self.pending = PageTree()
# Check whether we need hints and the user offered to give them