Commit f8bcfe2a authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Project.ros: don’t try too hard

parent 2cd8aa1f
Pipeline #1000 failed with stages
in 37 seconds
......@@ -233,7 +233,10 @@ class Project(Links, NamedModel, TimeStampedModel):
dependency.save()
def ros(self):
filename = self.git_path() / 'package.xml'
try:
filename = self.git_path() / 'package.xml'
except:
return
if not filename.exists():
return
with filename.open() as f:
......
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