From 6e55ebea5ec3a3e0673c35adbb9fbc294367e11e Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Wed, 7 Jul 2010 19:35:37 +0000 Subject: [PATCH] Copy paste failure. I didn't run the unit test after doing the last minute change and it was indeed broken. TBR=msb Review URL: http://codereview.chromium.org/2823040 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@51761 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gclient.py b/gclient.py index 6ec2f183fe..3ae9ffecf0 100644 --- a/gclient.py +++ b/gclient.py @@ -362,7 +362,8 @@ class Dependency(GClientKeywords): self.file_list[i] = self.file_list[i][len(prefix):] # Strip any leading path separators. - while file_list[i].startswith('\\') or file_list[i].startswith('/'): + while (self.file_list[i].startswith('\\') or + self.file_list[i].startswith('/')): self.file_list[i] = self.file_list[i][1:] # Run hooks on the basis of whether the files from the gclient operation