From a872b3f57a7751a09473cdc6674d7997a2cdb2f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 22 Nov 2018 08:44:24 +0100 Subject: [PATCH] donate-cpu: take care of unhandled exception when unpacking archive --- tools/donate-cpu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 45fb02451..85967f727 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -169,6 +169,8 @@ def unpackPackage(workPath, tgz): tf.extract(member.name) except OSError: pass + except AttributeError: + pass tf.close() os.chdir(workPath)