summaryrefslogtreecommitdiff
path: root/MAT/archive.py
diff options
context:
space:
mode:
Diffstat (limited to 'MAT/archive.py')
-rw-r--r--MAT/archive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/MAT/archive.py b/MAT/archive.py
index 212e638..5b8d9a8 100644
--- a/MAT/archive.py
+++ b/MAT/archive.py
@@ -224,7 +224,8 @@ class TarStripper(GenericArchiveStripper):
224 basename, ext = os.path.splitext(complete_name) 224 basename, ext = os.path.splitext(complete_name)
225 if ext not in parser.NOMETA: 225 if ext not in parser.NOMETA:
226 if list_unsupported: 226 if list_unsupported:
227 ret_list.append(complete_name) 227 tmp_len = len(self.tempdir) + 1 # trim the tempfile path
228 ret_list.append(complete_name[tmp_len:])
228 else: 229 else:
229 return False 230 return False
230 tarin.close() 231 tarin.close()