This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
themis.config/themis/config/upgrade.py

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')