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/loman.py b/scripts/loman.py
index a440821..da1fd0a 100644
--- a/scripts/loman.py
+++ b/scripts/loman.py
@@ -71,10 +71,10 @@
return list(self.nodes.findall('project'))
-def _AddProjectsToManifestGroups(options, *projects):
+def _AddProjectsToManifestGroups(options, *args):
"""Enable the given manifest groups for the configured repository."""
- groups_to_enable = ['name:%s' % x for x in projects]
+ groups_to_enable = ['name:%s' % x for x in args]
git_config = options.git_config