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)
|
tf.extract(member.name)
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
tf.close()
|
tf.close()
|
||||||
os.chdir(workPath)
|
os.chdir(workPath)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue