jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1333963?usp=email )
Change subject: parser_function_count: Fix explicit arguments
......................................................................
parser_function_count: Fix explicit arguments
Pass the argument tuple to handle_args as a single iterable. Unpacking it
iterates one argument character by character, treats a second as do_help,
and rejects calls with more than two arguments.
Change-Id: Idb832577143ff59ca2692fc79f27bd2334f496f5
---
M scripts/parser_function_count.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/scripts/parser_function_count.py b/scripts/parser_function_count.py
index 56bdbc1..f7cc5ac 100755
--- a/scripts/parser_function_count.py
+++ b/scripts/parser_function_count.py
@@ -167,7 +167,7 @@
def main(*args: str) -> None:
"""Process command line arguments and invoke ParserFunctionCountBot."""
- local_args = pywikibot.handle_args(*args)
+ local_args = pywikibot.handle_args(args)
options = {}
# Parse command line arguments
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1333963?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Idb832577143ff59ca2692fc79f27bd2334f496f5
Gerrit-Change-Number: 1333963
Gerrit-PatchSet: 2
Gerrit-Owner: Mahveotm <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]