skeleton/migration/precreate.py.tmpl
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 09 Jul 2014 16:00:21 +0200
changeset 9908 88bbb3abf30f
parent 8207 c04676b16c59
permissions -rw-r--r--
[dataimport] Stop swallowing errors from commit/flush Silent DB corruption is not OK. Also drop comment from ObjectStore.commit that I don't understand.

# -*- 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.
"""