2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-24 02:05:12 +01:00

Simplification

This commit is contained in:
Thomas Nagy 2016-05-18 22:02:47 +02:00
parent 74e54322c5
commit 5eaf7aee1b
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -531,14 +531,12 @@ class DistCheck(Dist):
"""
import tempfile, tarfile
t = None
try:
t = tarfile.open(self.get_arch_name())
for x in t:
t.extract(x)
finally:
if t:
t.close()
t.close()
cfg = []