Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: recipe_engine/lint_test.py

Issue 2845923002: [recipes.py] use argparse to set command automatically. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_engine/fetch.py ('k') | recipe_engine/refs.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/lint_test.py
diff --git a/recipe_engine/lint_test.py b/recipe_engine/lint_test.py
index 0df128066cb1ec91e1a272e3d34281f444d512fe..38772e624944bb6245fe16761260948f5da68ce6 100755
--- a/recipe_engine/lint_test.py
+++ b/recipe_engine/lint_test.py
@@ -72,7 +72,7 @@ def add_subparser(parser):
help='A regexp matching module names to add to the default whitelist. '
'Use multiple times to add multiple patterns,')
- lint_p.set_defaults(command='lint', func=main)
+ lint_p.set_defaults(func=main)
def main(package_deps, args):
« no previous file with comments | « recipe_engine/fetch.py ('k') | recipe_engine/refs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698