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
diff --git a/gclient.py b/gclient.py
index 6ec2f18..3ae9ffe 100644
--- a/gclient.py
+++ b/gclient.py
@@ -362,7 +362,8 @@
           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