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'):
--
To view, visit
https://gerrit.wikimedia.org/r/125341
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iabe5caae61f5fab3151c97ed1900678ece58e655
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>