Commit 3d7d9078 authored by Franco Fichtner's avatar Franco Fichtner

proxy: s/txz/tgz/g

parent c5299dba
......@@ -67,7 +67,7 @@ class ACLDownload(object):
if self._source_data is not None:
# handle compressed data
if (len(self._url) > 8 and self._url[-7:] == '.tar.gz') \
or (len(self._url) > 4 and self._url[-4:] == '.txz'):
or (len(self._url) > 4 and self._url[-4:] == '.tgz'):
# source is in tar.gz format, extract all into a single string
try:
tf = tarfile.open(fileobj=StringIO.StringIO(self._source_data))
......
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