This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zope.component import getUtility | |
from zope.interface import Interface | |
from zope.interface import alsoProvides | |
from plone.registry.interfaces import IRegistry | |
from plone.app.registry.browser.controlpanel import ControlPanelFormWrapper | |
from plone.app.registry.browser.controlpanel import RegistryEditForm | |
from plone.z3cform import layout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import imp | |
import sys | |
def create_modules(module_path): | |
path = "" | |
module = None | |
for element in module_path.split('.'): | |
path += element | |
try: |