Ticket #16424: 16424.diff
File 16424.diff, 844 bytes (added by , 13 years ago) |
---|
-
collectstatic.py
old new 107 107 for path, storage in finder.list(self.ignore_patterns): 108 108 # Prefix the relative path if the source storage contains it 109 109 if getattr(storage, 'prefix', None): 110 path = os.path.join(storage.prefix, path) 111 handler(path, path, storage) 110 prefixed_path = os.path.join(storage.prefix, path) 111 else: 112 prefixed_path = path 113 handler(path, prefixed_path, storage) 112 114 113 115 actual_count = len(self.copied_files) + len(self.symlinked_files) 114 116 unmodified_count = len(self.unmodified_files)