migration/2.2.1_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 20 Jun 2014 15:51:15 +0200
changeset 1538 a8c09ec054db
parent 802 e08097e621ee
child 1561 ea7b1e630c1b
permissions -rw-r--r--
[pkg] attempt to fix things up after modname change Things get sort of confused with a cube named 'apycot' and a public library named 'apycotlib'. Maybe this will help...


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

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

commit()