1
0
mirror of https://github.com/django/django.git synced 2025-04-11 19:12:22 +00:00

Fixed -- Removed an unneeded check in collectstatic.

Thanks prathik for the report.
This commit is contained in:
Tim Graham 2014-10-22 13:11:37 -04:00
parent 9dc782b631
commit 36ea03eb36

@ -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)