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
Tom Pillot
dashboard
Commits
f2bea060
Commit
f2bea060
authored
Jul 22, 2020
by
Tom Pillot
Browse files
Remove print
parent
b2d6c8b0
Pipeline
#10131
failed with stage
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
f2bea060
...
...
@@ -803,16 +803,12 @@ class Robotpkg(NamedModel):
images
=
self
.
image_set
.
filter
(
created__isnull
=
False
,
target__active
=
True
).
order_by
(
'target__name'
)
valid
=
[]
for
image
in
images
:
target
=
image
.
target
.
name
py3
=
image
.
py3
debug
=
image
.
debug
if
(
target
,
py3
,
debug
)
in
(
if
(
image
.
target
.
name
,
image
.
py3
,
image
.
debug
)
in
(
(
'18.04'
,
True
,
False
),
# 18.04 / python 3 / Release
(
'16.04'
,
True
,
False
),
# 16.04 / python 3 / Release
(
'20.04'
,
True
,
False
),
# 20.04 / python 3 / Release
(
'18.04'
,
False
,
False
),
# 18.04 / python 2 / Release and 18.04 / no python / Release
):
print
(
target
,
py3
,
debug
)
valid
.
append
(
image
)
return
valid
...
...
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