aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools')
-rwxr-xr-xsetuptools/archive_util.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/setuptools/archive_util.py b/setuptools/archive_util.py
index 6493b448..16355092 100755
--- a/setuptools/archive_util.py
+++ b/setuptools/archive_util.py
@@ -145,8 +145,6 @@ def unpack_tarfile(filename, extract_dir, progress_filter=default_filter):
tarobj.chown = lambda *args: None
for member in tarobj:
name = member.name
- if isinstance(name, bytes):
- name = name.decode(tarfile.ENCODING)
# don't extract absolute paths or ones with .. in them
if not name.startswith('/') and '..' not in name.split('/'):
prelim_dst = os.path.join(extract_dir, *name.split('/'))