Commit a296870b authored by Arnaud Fontaine's avatar Arnaud Fontaine

Transform: Show better traceback on debugging failure of transform module import.

parent 0e3bdb50
...@@ -22,6 +22,7 @@ from Products.PortalTransforms.transforms.broken import BrokenTransform ...@@ -22,6 +22,7 @@ from Products.PortalTransforms.transforms.broken import BrokenTransform
def import_from_name(module_name): def import_from_name(module_name):
""" import and return a module by its name """ """ import and return a module by its name """
__traceback_info__ = (module_name,)
return import_module(module_name) return import_module(module_name)
def make_config_persistent(kwargs): def make_config_persistent(kwargs):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment