Fixed #23701 -- 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
1 changed files with 1 additions and 2 deletions

View File

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