Correctly guard file_list modification in gclient update

TBR=smut@chromium.org
BUG=658959

Review-Url: https://codereview.chromium.org/2448993003
changes/96/408096/1
agable 9 years ago committed by Commit bot
parent 2f3f137de7
commit c3937b9128

@ -674,8 +674,9 @@ class GitWrapper(SCMWrapper):
# whitespace between projects when syncing. # whitespace between projects when syncing.
self.Print('') self.Print('')
file_list.extend( if file_list is not None:
[os.path.join(self.checkout_path, f) for f in rebase_files]) file_list.extend(
[os.path.join(self.checkout_path, f) for f in rebase_files])
# If the rebase generated a conflict, abort and ask user to fix # If the rebase generated a conflict, abort and ask user to fix
if self._IsRebasing(): if self._IsRebasing():

Loading…
Cancel
Save