Commit 6e55ebea authored by maruel@chromium.org's avatar maruel@chromium.org

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
parent adecb316
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment