Commit c8cfd0d8 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

valid_images only on active targets

parent 60e3bcea
Pipeline #896 passed with stages
in 46 seconds
......@@ -601,7 +601,7 @@ class Robotpkg(NamedModel):
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):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment