Commit 6c657309 by Timothée Peignier

Don't return .gz urls.

parent d068a019
......@@ -79,12 +79,6 @@ class GZIPMixin(object):
gzipped_path = self.save(gzipped_path, gzipped_file)
yield gzipped_path, gzipped_path, True
def url(self, name, force=False):
url = super(GZIPMixin, self).url(name, force)
if matches_patterns(name, self.gzip_patterns):
return "{0}.gz".format(url)
return url
class NonPackagingMixin(object):
packing = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment