jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[bugfix] Fix -match option of category.py

Change-Id: I37ad8d1a9a5c774baa83f493458cffe01d273223
---
M scripts/category.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/category.py b/scripts/category.py
index 36182ce..fb259d5 100755
--- a/scripts/category.py
+++ b/scripts/category.py
@@ -1383,7 +1383,7 @@
showimages = True
elif option == 'summary':
summary = value
- elif option == '-match':
+ elif option == 'match':
title_regex = value or pywikibot.input(
'Which regular expression should affected objects match?')
elif option == 'talkpages':

To view, visit change 721978. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I37ad8d1a9a5c774baa83f493458cffe01d273223
Gerrit-Change-Number: 721978
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged