summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Morley <edmorley@users.noreply.github.com>2017-09-16 23:30:14 +0100
committerTim Graham <timograham@gmail.com>2017-09-27 08:45:10 -0400
commit2d4ccac275656d4e5ea87061b297dc8395d80019 (patch)
tree753b20e9dc0b647de8da7c27034496ab88e3d7b0
parent4803834aaad99a92e65b5c70ccdbcf4d07ea9b03 (diff)
Fixed #28603 -- Clarified comment in collectstatic's collect().
-rw-r--r--django/contrib/staticfiles/management/commands/collectstatic.py3
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 e5ae48f9fe..26b1433a92 100644
--- a/django/contrib/staticfiles/management/commands/collectstatic.py
+++ b/django/contrib/staticfiles/management/commands/collectstatic.py
@@ -121,8 +121,7 @@ class Command(BaseCommand):
level=1,
)
- # Here we check if the storage backend has a post_process
- # method and pass it the list of modified files.
+ # Storage backends may define a post_process() method.
if self.post_process and hasattr(self.storage, 'post_process'):
processor = self.storage.post_process(found_files,
dry_run=self.dry_run)