mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
Stop using bare except
statements
This commit is contained in:
parent
ff9a0370ac
commit
081d38f78d
3 changed files with 9 additions and 6 deletions
|
@ -185,7 +185,7 @@ class BaseNode(object):
|
|||
try:
|
||||
status = chunk.subprocess.status()
|
||||
logF.write(f"Process status: {status}")
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
if chunk.subprocess.returncode != 0:
|
||||
|
@ -372,4 +372,3 @@ class InitNode(object):
|
|||
for attr in attributesDict:
|
||||
if node.hasAttribute(attr):
|
||||
node.attribute(attr).value = attributesDict[attr]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue