migration/2.2.1_Any.py
author David Douard <david.douard@logilab.fr>
Thu, 20 Nov 2014 23:14:28 +0100
changeset 1779 52df5eea680c
parent 1561 ea7b1e630c1b
permissions -rw-r--r--
[migration] ensure Repository and ProjectEnvironment have recipes


for step in rql('RecipeStep RS WHERE RS target %(target)s', {'target': u'apycot.get_dependancies'}).entities():
    step.cw_set(target=u'apycot.get_dependencies')

rql('DELETE Recipe R WHERE R name IN ("apycot.recipe.debian", "apycot.recipe.experimental")')

commit()