Revision: 5598 Author: wikipedian Date: 2008-06-21 00:36:43 +0000 (Sat, 21 Jun 2008)
Log Message: ----------- added a temporary workaround for bug [ 1999239 ] Blocking bot account doesn't stop the bot run
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-06-20 19:29:13 UTC (rev 5597) +++ trunk/pywikipedia/wikipedia.py 2008-06-21 00:36:43 UTC (rev 5598) @@ -4385,6 +4385,12 @@ account = 'Your sysop account' else: account = 'Your account' + ################################################################ + # The following line was added as a workaround for bug 1999239 # + # (Blocking bot account doesn't stop the bot run). # + raise UserBlocked(self) # + # End of workaround. # + ################################################################ output(u'WARNING: %s on %s is blocked. Editing using this account will stop the run.' % (account, self)) self._isBlocked[index] = blocked