skeleton/migration/precreate.py.tmpl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 19 Jan 2011 18:01:28 +0100
branchstable
changeset 6850 2b9e58174327
parent 5426 0d4853a6e5ee
child 8207 c04676b16c59
permissions -rw-r--r--
[repo] move cursor creation into the try/except, it may raises an InterfaceError if the connection is closed

# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s precreate script, executed at instance creation time or when
the cube is added to an existing instance, before the schema is serialized.

This is typically to create groups referenced by the cube'schema.
"""