jenkins-bot has submitted this change and it was merged.

Change subject: [FIX] selflink: Correctly call input_choice
......................................................................


[FIX] selflink: Correctly call input_choice

The input_choice call in selflink is incorrect as it doesn't provide a shortcut
for 'unlink all' which was introduced in bc9dd662.

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

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

Objections:
  XZise: There's a problem with this change, please improve



diff --git a/scripts/selflink.py b/scripts/selflink.py
index 961f696..f8de1b2 100755
--- a/scripts/selflink.py
+++ b/scripts/selflink.py
@@ -100,7 +100,7 @@
             choice = pywikibot.input_choice(
                 u'\nWhat shall be done with this selflink?\n',
                 [('unlink', 'u'), ('make bold', 'b'), ('skip', 's'),
-                 ('edit', 'e'), ('more context', 'm'), ('unlink all')], 'u')
+                 ('edit', 'e'), ('more context', 'm'), ('unlink all', 'a')], 
'u')
             pywikibot.output(u'')
 
             if choice == 's':

-- 
To view, visit https://gerrit.wikimedia.org/r/219623
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0a1a9cad0040406a9ecab6b2b7de640a65883662
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <commodorefabia...@gmx.de>
Gerrit-Reviewer: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: XZise <commodorefabia...@gmx.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
Pywikibot-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to