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

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

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved show_me_the_modules into recipe_engine Created 5 years, 4 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
Index: third_party/recipe_engine/expect_tests/main.py
diff --git a/third_party/recipe_engine/expect_tests/main.py b/third_party/recipe_engine/expect_tests/main.py
index 83800de232ab3d598c2facbb1e24af6ee2dd3a5a..fa211b37051320f31710dc3ec29c73692d7d60a5 100644
--- a/third_party/recipe_engine/expect_tests/main.py
+++ b/third_party/recipe_engine/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'])

Powered by Google App Engine
This is Rietveld 408576698