diff options
| author | Tim Graham <timograham@gmail.com> | 2014-10-22 13:11:37 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-10-22 13:11:37 -0400 |
| commit | 36ea03eb36b4d4248e2bec0bb97328f2a1fd794e (patch) | |
| tree | 50e46601715ea0010f4383f88d9ff387180a8510 | |
| parent | 9dc782b6313910dc8e650f3a3013320ffb1209db (diff) | |
Fixed #23701 -- Removed an unneeded check in collectstatic.
Thanks prathik for the report.
| -rw-r--r-- | django/contrib/staticfiles/management/commands/collectstatic.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py index f004727c83..10c8c8f8d9 100644 --- a/django/contrib/staticfiles/management/commands/collectstatic.py +++ b/django/contrib/staticfiles/management/commands/collectstatic.py @@ -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) |
