http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10219
Revision: 10219 Author: xqt Date: 2012-05-16 15:12:55 +0000 (Wed, 16 May 2012) Log Message: ----------- remove broken option introduced in r5205, update from trunk r10218
Modified Paths: -------------- branches/rewrite/pywikibot/pagegenerators.py
Modified: branches/rewrite/pywikibot/pagegenerators.py =================================================================== --- branches/rewrite/pywikibot/pagegenerators.py 2012-05-16 15:10:55 UTC (rev 10218) +++ branches/rewrite/pywikibot/pagegenerators.py 2012-05-16 15:12:55 UTC (rev 10219) @@ -387,9 +387,6 @@ gen = ReferringPageGenerator(transclusionPage, onlyTemplateInclusion=True) elif arg.startswith('-start'): - if arg.startswith('-startxml'): - pywikibot.output(u'-startxml : wrong parameter') - raise ValueError firstPageTitle = arg[7:] if not firstPageTitle: firstPageTitle = pywikibot.input(
pywikipedia-svn@lists.wikimedia.org