Commit 2eff802c authored by Guilhem Saurel's avatar Guilhem Saurel

fix logic

parent ff39a95d
Pipeline #10737 passed with stage
in 1 minute and 54 seconds
......@@ -824,9 +824,8 @@ class Robotpkg(NamedModel):
for target in Target.objects.active():
for py3 in py3s:
for debug in debugs:
if not target.py2_available and not py3:
continue
Image.objects.get_or_create(robotpkg=self, target=target, py3=py3, debug=debug)[0].update()
if target.py2_available or py3 or not self.name.startswith('py-'):
Image.objects.get_or_create(robotpkg=self, target=target, py3=py3, debug=debug)[0].update()
def update(self, pull=True):
path = settings.RAINBOARD_RPKG
......
Markdown is supported
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