Commit 05bf26cb authored by Thomas Karl Pietrowski's avatar Thomas Karl Pietrowski
Browse files

PEP8: Oh, yes, bare exceptions...

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
parent 776b07b4
Pipeline #729 passed with stages
in 45 seconds
......@@ -66,7 +66,7 @@ class FreeCADReader(CommonCLIReader):
ret = self.executeCommand([cli, ] + opt,
cwd=cwd,
)
except:
except Exception:
# Ubuntu: Command name is since bioic in lowercase.
cli = cli.lower()
ret = self.executeCommand([cli, ] + opt,
......
......@@ -39,7 +39,7 @@ def register(app):
try:
reader = FreeCADReader.FreeCADReader()
metadata["mesh_reader"] = reader
except:
except Exception:
Logger.logException("e", "An error occured, when loading the reader!")
return metadata
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment