lint: use *args and **kwargs everywhere
Many files used **dargs and **kwds. Standardize on **kwargs.
The remaining handful used a func-specific variable name rather than
*args. They kind of make sense, but they're the old balls out, so
let's standardize on *args to avoid this.
BUG=None
TEST=`./buildbot/run_tests` passes
TEST=linter no longer complains about these
Change-Id: Ie6363d1bcbb5499f7e3867cf4b1c92f36c9db771
Reviewed-on: https://chromium-review.googlesource.com/179800
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/gerrit.py b/scripts/gerrit.py
index 3f52ae3..a6ea954 100644
--- a/scripts/gerrit.py
+++ b/scripts/gerrit.py
@@ -236,9 +236,9 @@
opts.gerrit.RestoreChange(idx)
-def UserActReviewers(opts, idx, *emails):
+def UserActReviewers(opts, idx, *args):
"""Add/remove reviewers' emails for CL <n> (prepend with '~' to remove)"""
-
+ emails = args
# Allow for optional leading '~'.
email_validator = re.compile(r'^[~]?%s$' % constants.EMAIL_REGEX)
add_list, remove_list, invalid_list = [], [], []