jenkins-bot merged this change.
[bugfix] Enable -limit/-total option
Bug: T216608
Change-Id: If5314ffeae90ff9560b7a6d0acc0debb1fc76303
---
M scripts/redirect.py
1 file changed, 1 insertion(+), 1 deletion(-)
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,
To view, visit change 491735. To unsubscribe, or for help writing mail filters, visit settings.