Fixed #28603 -- Clarified comment in collectstatic's collect().

This commit is contained in:
Ed Morley 2017-09-16 23:30:14 +01:00 committed by Tim Graham
parent 4803834aaa
commit 2d4ccac275
1 changed files with 1 additions and 2 deletions

View File

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