skeleton/migration/precreate.py.tmpl
author Paul Tonelli <paul.tonelli@logilab.fr>
Thu, 23 Oct 2014 14:57:02 +0200
changeset 10011 340d4ef55b6f
parent 8207 c04676b16c59
permissions -rw-r--r--
[ldapfeed] Reduce default value for user-attrs-map option (closes #3824889) This is needed because lgc.configuration.Configuration does not allow removing key/value pairs from the default (due to its use of dict.update() internally). Since CWUser.login is required, users of the add-source command will always be able to override it.

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