We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce48f9 commit 32f528aCopy full SHA for 32f528a
tools/configure.d/nodedownload.py
@@ -60,7 +60,7 @@ def unpack(packedfile, parent_path):
60
icuzip.extractall(parent_path)
61
return parent_path
62
elif tarfile.is_tarfile(packedfile):
63
- with tarfile.TarFile.open(packedfile, 'r') as icuzip:
+ with contextlib.closing(tarfile.TarFile.open(packedfile, 'r')) as icuzip:
64
print ' Extracting tarfile: %s' % packedfile
65
66
0 commit comments