Skip to content
GitLab
Menu
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
94b9ee54
Commit
94b9ee54
authored
Nov 14, 2019
by
Guilhem Saurel
Browse files
fix previous commit
parent
fae595c2
Pipeline
#6826
passed with stage
in 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
94b9ee54
...
...
@@ -1183,8 +1183,8 @@ def ordered_projects():
# Ensure that py-XX is after XX
switch
=
[]
for
i
,
(
cat
,
pkg
)
in
enumerate
(
lst
):
main
=
(
cat
,
pkg
[
3
:])
for
i
,
(
cat
,
pkg
,
ns
)
in
enumerate
(
lst
):
main
=
(
cat
,
pkg
[
3
:]
,
ns
)
if
pkg
.
startswith
(
'py-'
)
and
main
in
lst
and
i
<
lst
.
index
(
main
):
switch
.
append
((
i
,
lst
.
index
(
main
)))
for
old
,
new
in
switch
:
...
...
@@ -1193,8 +1193,8 @@ def ordered_projects():
# py-example-robot-data depends on py-pinocchio
# even though pinocchio could depend on example-robot-data
example
=
lst
.
index
((
'wip'
,
'py-example-robot-data'
))
pinocchio
=
lst
.
index
((
'math'
,
'py-pinocchio'
))
example
=
lst
.
index
((
'wip'
,
'py-example-robot-data'
,
'gepetto'
))
pinocchio
=
lst
.
index
((
'math'
,
'py-pinocchio'
,
'stack-of-tasks'
))
example
=
lst
.
pop
(
example
)
lst
.
insert
(
pinocchio
,
example
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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