jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/789894 )

Change subject: [bugfix] Enable arguments
......................................................................

[bugfix] Enable arguments

Fix regression of 68bc18c4acabc3c29ab33c83b63bef8ebc030b92

Bug: T307826
Change-Id: I18b10d1633d555a4118befa114f39014b1606bd8
---
M scripts/movepages.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/movepages.py b/scripts/movepages.py
index c59d653..0a23dba 100755
--- a/scripts/movepages.py
+++ b/scripts/movepages.py
@@ -197,7 +197,7 @@

     for arg in local_args:
         opt, _, value = arg.partition(':')
-        if opt.startswith('-'):
+        if not opt.startswith('-'):
             continue
         opt = opt[1:]
         if opt == 'pairsfile':

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/789894
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I18b10d1633d555a4118befa114f39014b1606bd8
Gerrit-Change-Number: 789894
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Vladis13 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to