Commit 0e6b5a9b authored by Franco Fichtner's avatar Franco Fichtner

proxy: s/txz/tgz/g

(cherry picked from commit 3d7d9078)
parent 8db6cc80
......@@ -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