diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-02 08:54:51 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-02 08:54:51 -0400 |
commit | d12b01679cb0e2e6a3ea1832891614c6ee86095c (patch) | |
tree | 7efc2cc15474c9949d14887977a7013c2daa072e /setuptools/archive_util.py | |
parent | f9b2902f312834ca6676f0b79bedf845c2bc42c3 (diff) | |
download | python-setuptools-git-d12b01679cb0e2e6a3ea1832891614c6ee86095c.tar.gz |
Backout 1b8dc8c7ac. Reopens #709.
Diffstat (limited to 'setuptools/archive_util.py')
-rwxr-xr-x | setuptools/archive_util.py | 2 |
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('/')) |