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
c8cfd0d8
Commit
c8cfd0d8
authored
Jul 03, 2018
by
Guilhem Saurel
Browse files
valid_images only on active targets
parent
60e3bcea
Pipeline
#896
passed with stages
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
c8cfd0d8
...
...
@@ -601,7 +601,7 @@ class Robotpkg(NamedModel):
self
.
save
()
def
valid_images
(
self
):
return
self
.
image_set
.
filter
(
created__isnull
=
False
)
return
self
.
image_set
.
filter
(
created__isnull
=
False
,
target__active
=
True
)
# class RobotpkgBuild(TimeStampedModel):
...
...
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