Revision: 8369 Author: xqt Date: 2010-07-29 07:22:06 +0000 (Thu, 29 Jul 2010)
Log Message: ----------- Remove wrong parameter introduced with r7809. Bug fixed by Lewis Cawte (Lcawte), thanks!
Modified Paths: -------------- trunk/pywikipedia/capitalize_redirects.py
Modified: trunk/pywikipedia/capitalize_redirects.py =================================================================== --- trunk/pywikipedia/capitalize_redirects.py 2010-07-28 21:41:35 UTC (rev 8368) +++ trunk/pywikipedia/capitalize_redirects.py 2010-07-29 07:22:06 UTC (rev 8369) @@ -113,8 +113,11 @@
gen = genFactory.getCombinedGenerator() preloadingGen = pagegenerators.PreloadingGenerator(gen) - bot = CapitalizeBot(preloadingGen, acceptall, titlecase, standard) - bot.run() + bot = CapitalizeBot(preloadingGen, acceptall, titlecase) + try: + bot.run() + except KeyboardInterrupt: + pywikibot.output('\nQuitting program...')
if __name__ == "__main__": try:
pywikipedia-svn@lists.wikimedia.org