Revision: 7263 Author: nicdumz Date: 2009-09-17 14:26:42 +0000 (Thu, 17 Sep 2009)
Log Message: ----------- Reverting 7261.
Modified Paths: -------------- branches/rewrite/pywikibot/config2.py branches/rewrite/pywikibot/data/api.py
Modified: branches/rewrite/pywikibot/config2.py =================================================================== --- branches/rewrite/pywikibot/config2.py 2009-09-17 14:18:48 UTC (rev 7262) +++ branches/rewrite/pywikibot/config2.py 2009-09-17 14:26:42 UTC (rev 7263) @@ -346,11 +346,6 @@ # running solve_disambiguation.py with the -primary argument. special_page_limit = 500
-# Disable lagging, for debugging purposes. -# If your bot has this variable activated in a production environment, it is -# likely to be too aggressive and to get blocked by system admins. -no_lagging = False - ############## TABLE CONVERSION BOT SETTINGS ##############
# will split long paragraphs for better reading the source.
Modified: branches/rewrite/pywikibot/data/api.py =================================================================== --- branches/rewrite/pywikibot/data/api.py 2009-09-17 14:18:48 UTC (rev 7262) +++ branches/rewrite/pywikibot/data/api.py 2009-09-17 14:26:42 UTC (rev 7263) @@ -281,7 +281,7 @@ info = result["error"].pop("info", None) if code == "maxlag": lag = lagpattern.search(info) - if lag and not config.no_lagging: + if lag: pywikibot.output( u"Pausing due to database lag: " + info, level=pywikibot.VERBOSE)