jenkins-bot has submitted this change and it was merged.
Change subject: Pagegenerators.py: make grep a recognised key of GeneratorFactory.handleArg() ......................................................................
Pagegenerators.py: make grep a recognised key of GeneratorFactory.handleArg()
Replace.py does not understand that "grep" is a pagegenerators key and uses -grep:xxx arg as replacement. [see "# Read commandline parameters" section in main()]
Change-Id: Iabe5caae61f5fab3151c97ed1900678ece58e655 --- M pywikibot/pagegenerators.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index e1d510f..66bdd85 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -490,6 +490,7 @@ self.articlefilter = pywikibot.input(u'Which pattern do you want to grep?') else: self.articlefilter = arg[6:] + return True elif arg.startswith('-yahoo'): gen = YahooSearchPageGenerator(arg[7:]) elif arg.startswith('-untagged'):
pywikibot-commits@lists.wikimedia.org