jenkins-bot has submitted this change and it was merged.
Change subject: call handleArgs before local args are processed ......................................................................
call handleArgs before local args are processed
Change-Id: I0f710087291d74ab423f44088551708f97a21ff8 --- M scripts/watchlist.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/watchlist.py b/scripts/watchlist.py index 2509088..c3d685c 100755 --- a/scripts/watchlist.py +++ b/scripts/watchlist.py @@ -137,10 +137,11 @@
def main(): + local_args = pywikibot.handleArgs() all = False new = False sysop = False - for arg in pywikibot.handleArgs(): + for arg in local_args: if arg in ('-all', '-update'): all = True elif arg == '-new':
pywikibot-commits@lists.wikimedia.org