Kaydet (Commit) 36ea03eb authored tarafından Tim Graham's avatar Tim Graham

Fixed #23701 -- Removed an unneeded check in collectstatic.

Thanks prathik for the report.
üst 9dc782b6
......@@ -314,5 +314,4 @@ class Command(BaseCommand):
self.log("Copying '%s'" % source_path, level=1)
with source_storage.open(path) as source_file:
self.storage.save(prefixed_path, source_file)
if prefixed_path not in self.copied_files:
self.copied_files.append(prefixed_path)
self.copied_files.append(prefixed_path)
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