Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
dashboards
Commits
e1db3dc1c679
Commit
ab5ebb91
authored
Aug 06, 2020
by
Laurent Peuch
Browse files
fix: bad key was letting only the last cube getting stored
parent
551cc3b19357
Changes
1
Hide whitespace changes
Inline
Side-by-side
mr_center.py
View file @
e1db3dc1
...
...
@@ -44,7 +44,7 @@ for cube in all_cubes:
merge_request
[
"pipeline"
]
=
pipelines
[
0
]
if
pipelines
else
None
merge_requests
.
append
(
merge_request
)
context
[
"cubes"
][
project
.
name
]
=
{
context
[
"cubes"
][
cube
.
name
]
=
{
"cube"
:
cube
.
attributes
,
"merge_requests"
:
merge_requests
,
"labels"
:
{
x
.
name
:
x
.
attributes
for
x
in
project
.
labels
.
list
(
all
=
True
)}
...
...
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