FEM: python, get rid of bare excepts

This commit is contained in:
Bernd Hahnebach
2020-10-27 08:23:12 +01:00
parent 70e11ebc52
commit 6fda0a2faa
10 changed files with 16 additions and 9 deletions

View File

@@ -116,7 +116,7 @@ class Task(object):
def protector(self):
try:
self.run()
except:
except Exception:
self.fail()
raise