Commit 37cf7fd6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

detail

parent c0088190
Pipeline #14245 passed with stage
in 1 minute and 8 seconds
...@@ -9,8 +9,7 @@ def disable_trusty(apps, schema_editor): ...@@ -9,8 +9,7 @@ def disable_trusty(apps, schema_editor):
trusty.active = False trusty.active = False
trusty.save() trusty.save()
Robotpkg = apps.get_model('rainboard', 'Robotpkg') Robotpkg = apps.get_model('rainboard', 'Robotpkg')
for project in ['eigenpy', 'hpp-fcl', 'pinocchio', 'tsid', 'crocoddyl']: for rpkg in Robotpkg.objects.filter(project__slug__in=['eigenpy', 'hpp-fcl', 'pinocchio', 'tsid', 'crocoddyl']):
for rpkg in Robotpkg.objects.filter(project__slug=project):
rpkg.extended_target.add(trusty) rpkg.extended_target.add(trusty)
......
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