Index: Tools/Scripts/webkitpy/common/system/filesystem_mock.py |
diff --git a/Tools/Scripts/webkitpy/common/system/filesystem_mock.py b/Tools/Scripts/webkitpy/common/system/filesystem_mock.py |
index 70dfff3fa64287e63b077decfda3cf5b49f3d7ee..3e06339ec438d31a612ff83684ecbaf6378e1e16 100644 |
--- a/Tools/Scripts/webkitpy/common/system/filesystem_mock.py |
+++ b/Tools/Scripts/webkitpy/common/system/filesystem_mock.py |
@@ -391,7 +391,7 @@ class MockFileSystem(object): |
source = self.normpath(source) |
destination = self.normpath(destination) |
- for source_file in self.files: |
+ for source_file in list(self.files): |
if source_file.startswith(source): |
destination_path = self.join(destination, self.relpath(source_file, source)) |
self.maybe_make_directory(self.dirname(destination_path)) |