Ticket #26241: 26241.diff

File 26241.diff, 1.0 KB (added by AMaini503, 8 years ago)
  • django/contrib/staticfiles/management/commands/collectstatic.py

    diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py
    index 66dd782..7e5123b 100644
    a b class Command(BaseCommand):  
    264264                                 and os.path.islink(full_path))):
    265265                            if prefixed_path not in self.unmodified_files:
    266266                                self.unmodified_files.append(prefixed_path)
    267                             self.log("Skipping '%s' (not modified)" % path)
     267                            # Message changed to convey the reason clearly as to why the file was skipped beca
     268                            # Compares timestamps using --> http_date
     269                            self.log("Skipping '%s' (Dates of last modification are same)" % path)
    268270                            return False
    269271            # Then delete the existing file if really needed
    270272            if self.dry_run:
Back to Top