diff options
Diffstat (limited to 'calm/find-duplicates.py')
-rw-r--r-- | calm/find-duplicates.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calm/find-duplicates.py b/calm/find-duplicates.py index 9c5b94e..9e1aabb 100644 --- a/calm/find-duplicates.py +++ b/calm/find-duplicates.py @@ -27,6 +27,7 @@ import re import os import sys import tarfile +import xtarfile from . import common_constants @@ -65,7 +66,7 @@ def read_tar(f): result = {} try: - with tarfile.open(f) as t: + with xtarfile.open(f, mode='r') as t: for m in t: if m.isfile(): f = t.extractfile(m) |