mirror of https://github.com/pypa/pip
Restore the close to this file object
This commit is contained in:
parent
d8d6fd0850
commit
2bde707063
|
@ -575,6 +575,7 @@ def untar_file(filename, location):
|
|||
ensure_dir(os.path.dirname(path))
|
||||
with open(path, 'wb') as destfp:
|
||||
shutil.copyfileobj(fp, destfp)
|
||||
fp.close()
|
||||
# Update the timestamp (useful for cython compiled files)
|
||||
tar.utime(member, path)
|
||||
# member have any execute permissions for user/group/world?
|
||||
|
|
Loading…
Reference in New Issue