10 lines
332 B
Python
10 lines
332 B
Python
from Products.CMFCore.utils import getToolByName
|
|
|
|
PROFILE_ID = "profile-themis.config:default"
|
|
|
|
def update_registry(context, logger=None):
|
|
# Run the registry.xml step as that may have defined new attributes
|
|
setup = getToolByName(context, 'portal_setup')
|
|
setup.runImportStepFromProfile(PROFILE_ID, 'plone.app.registry')
|
|
|