Ticket #15035: collectstatic_remote_modified_time_fix.diff
File collectstatic_remote_modified_time_fix.diff, 780 bytes (added by , 14 years ago) |
---|
-
django/contrib/staticfiles/management/commands/collectstatic.py
126 126 # storage doesn't support ``modified_time`` or failed. 127 127 pass 128 128 else: 129 destination_is_link = os.path.islink(129 destination_is_link = self.destination_local and os.path.islink( 130 130 self.destination_storage.path(destination)) 131 131 if destination_last_modified >= source_last_modified: 132 132 if (not symlink and not destination_is_link):