Revision: 6389 Author: rotem Date: 2009-02-20 15:32:14 +0000 (Fri, 20 Feb 2009)
Log Message: ----------- Avoid an exception when showing the help.
Modified Paths: -------------- branches/rewrite/pywikibot/scripts/touch.py
Modified: branches/rewrite/pywikibot/scripts/touch.py =================================================================== --- branches/rewrite/pywikibot/scripts/touch.py 2009-02-20 14:36:24 UTC (rev 6388) +++ branches/rewrite/pywikibot/scripts/touch.py 2009-02-20 15:32:14 UTC (rev 6389) @@ -79,6 +79,7 @@ gen = iter([page]) else: pywikibot.showHelp() + return preloadingGen = pagegenerators.PreloadingGenerator(gen) bot = TouchBot(preloadingGen, redirs) bot.run()