donate-cpu: take care of unhandled exception when unpacking archive
This commit is contained in:
parent
ff3fd80b46
commit
a872b3f57a
|
@ -169,6 +169,8 @@ def unpackPackage(workPath, tgz):
|
|||
tf.extract(member.name)
|
||||
except OSError:
|
||||
pass
|
||||
except AttributeError:
|
||||
pass
|
||||
tf.close()
|
||||
os.chdir(workPath)
|
||||
|
||||
|
|
Loading…
Reference in New Issue