Revision: 5734 Author: leogregianin Date: 2008-07-19 02:59:08 +0000 (Sat, 19 Jul 2008)
Log Message: ----------- -start is in genfactory
Modified Paths: -------------- trunk/pywikipedia/fixing_redirects.py
Modified: trunk/pywikipedia/fixing_redirects.py =================================================================== --- trunk/pywikipedia/fixing_redirects.py 2008-07-19 02:35:27 UTC (rev 5733) +++ trunk/pywikipedia/fixing_redirects.py 2008-07-19 02:59:08 UTC (rev 5734) @@ -168,12 +168,7 @@ genFactory = pagegenerators.GeneratorFactory()
for arg in wikipedia.handleArgs(): - if arg.startswith('-start'): - if len(arg) == 6: - start = wikipedia.input(u'Which start where?') - else: - start = arg[7:] - elif arg == '-featured': + if arg == '-featured': featured = True elif arg.startswith('-page'): if len(arg) == 5: