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

Unified Diff: recipe_engine/third_party/expect_tests/main.py

Issue 1344583003: Recipe package system. (Closed) Base URL: git@github.com:luci/recipes-py.git@master
Patch Set: Recompiled proto Created 5 years, 3 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/simulation_test.py ('k') | recipe_engine/third_party/google/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/third_party/expect_tests/main.py
diff --git a/recipe_engine/third_party/expect_tests/main.py b/recipe_engine/third_party/expect_tests/main.py
index 83800de232ab3d598c2facbb1e24af6ee2dd3a5a..fa211b37051320f31710dc3ec29c73692d7d60a5 100644
--- a/recipe_engine/third_party/expect_tests/main.py
+++ b/recipe_engine/third_party/expect_tests/main.py
@@ -51,7 +51,8 @@ class _test_completer(object):
def _parse_args(args, test_gen):
- args = args or sys.argv[1:]
+ if args is None:
+ args = sys.argv[1:]
# Set the default mode if not specified and not passing --help
search_names = set(HANDLERS.keys() + ['-h', '--help'])
« no previous file with comments | « recipe_engine/simulation_test.py ('k') | recipe_engine/third_party/google/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698