Revision: 8009
Author: russblau
Date: 2010-03-14 16:32:42 +0000 (Sun, 14 Mar 2010)
Log Message:
-----------
Fix bug; non-existent variable.
Modified Paths:
--------------
branches/rewrite/pywikibot/throttle.py
Modified: branches/rewrite/pywikibot/throttle.py
===================================================================
--- branches/rewrite/pywikibot/throttle.py 2010-03-14 16:27:16 UTC (rev 8008)
+++ branches/rewrite/pywikibot/throttle.py 2010-03-14 16:32:42 UTC (rev 8009)
@@ -243,7 +243,7 @@
self.next_multiplicity = math.log(1+requestsize)/math.log(2.0)
# Announce the delay if it exceeds a preset limit
if wait > 0:
- if wait > config.noisysleep or pywikibot.verbose:
+ if wait > config.noisysleep or self.verbosedelay:
pywikibot.output(
u"Sleeping for %(wait).1f seconds, %(now)s"
% {'wait': wait,
Show replies by date