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

Unified Diff: gcl.py

Issue 3763004: Fix a None reference exception when searching for presubmit scripts. (Closed)
Patch Set: Created 10 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
diff --git a/gcl.py b/gcl.py
index e759970a80ccc09dcd4aaf1b999f58a0fd9fb86d..2c11e7bfff02f8613583266beea35ae821277456 100755
--- a/gcl.py
+++ b/gcl.py
@@ -866,7 +866,7 @@ def TryChange(change_info, args, swallow_exception):
file_list = change_info.GetFileNames()
else:
trychange_args.extend(args)
- file_list = None
+ file_list = []
return trychange.TryChange(
trychange_args,
file_list=file_list,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698