skeleton/migration/precreate.py.tmpl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 10 Mar 2014 16:07:41 +0100
branchstable
changeset 9564 e2d5b0712974
parent 8207 c04676b16c59
permissions -rw-r--r--
[test] when the config change, we should cleanup sys.path and sys.modules. Closes #3634164 Without this, modules imported within instance home will be messed up.

# -*- coding: utf-8 -*-
# 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.
"""