Commit 68b4d90f authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix E722 do not use bare except

parent f8bcfe2a
Pipeline #1001 passed with stages
in 40 seconds
......@@ -235,7 +235,7 @@ class Project(Links, NamedModel, TimeStampedModel):
def ros(self):
try:
filename = self.git_path() / 'package.xml'
except:
except TypeError:
return
if not filename.exists():
return
......
Markdown is supported
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