http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11436
Revision: 11436 Author: drtrigon Date: 2013-04-22 22:23:48 +0000 (Mon, 22 Apr 2013) Log Message: ----------- bug fix; do NOT shutdown logger in case of additional/accidential output
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2013-04-22 20:57:35 UTC (rev 11435) +++ trunk/pywikipedia/wikipedia.py 2013-04-22 22:23:48 UTC (rev 11436) @@ -9539,7 +9539,8 @@ not slow down other bots any more. """ get_throttle.drop() - logging.shutdown() + logger.flush() + #logging.shutdown()
def _flush(): """Wait for the page-putter to flush its queue.
pywikipedia-svn@lists.wikimedia.org