Skip to content

Commit 6c65730

Browse files
committed
Don't return .gz urls.
1 parent d068a01 commit 6c65730

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pipeline/storage.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ def post_process(self, paths, dry_run=False, **options):
7979
gzipped_path = self.save(gzipped_path, gzipped_file)
8080
yield gzipped_path, gzipped_path, True
8181

82-
def url(self, name, force=False):
83-
url = super(GZIPMixin, self).url(name, force)
84-
if matches_patterns(name, self.gzip_patterns):
85-
return "{0}.gz".format(url)
86-
return url
87-
8882

8983
class NonPackagingMixin(object):
9084
packing = False

0 commit comments

Comments
 (0)