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

Unified Diff: gclient_scm.py

Issue 208010: Fix a coding error that was introduced in 26423. (Closed)
Patch Set: Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
diff --git a/gclient_scm.py b/gclient_scm.py
index 902d8e84669441caa13da52c2c31637f337d53f3..148855c89ffc597d645314df55274da19909f303 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -51,8 +51,8 @@ class SCMWrapper(object):
def RunCommand(self, command, options, args, file_list=None):
# file_list will have all files that are modified appended to it.
-
- file_list = file_list or []
+ if file_list is None:
+ file_list = []
commands = {
'cleanup': self.cleanup,
« 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