Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
f8bcfe2a
Commit
f8bcfe2a
authored
Jul 19, 2018
by
Guilhem Saurel
Browse files
Project.ros: don’t try too hard
parent
2cd8aa1f
Pipeline
#1000
failed with stages
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
f8bcfe2a
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment