jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/491735 )
Change subject: [bugfix] Enable -limit/-total option ......................................................................
[bugfix] Enable -limit/-total option
Bug: T216608 Change-Id: If5314ffeae90ff9560b7a6d0acc0debb1fc76303 --- M scripts/redirect.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Zoranzoki21: Looks good to me, but someone else must approve Dvorapa: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/redirect.py b/scripts/redirect.py index 2d77de4..d7a9721 100755 --- a/scripts/redirect.py +++ b/scripts/redirect.py @@ -743,7 +743,7 @@ elif option in ('page', 'start', 'until'): gen_options[option] = value elif option in ('limit', 'total'): - option['limit'] = gen_options['limit'] = int(value) + options['limit'] = gen_options['limit'] = int(value) if option == 'total': issue_deprecation_warning('The usage of "{0}"'.format(arg), '-limit', 2,
pywikibot-commits@lists.wikimedia.org