Commit 669a5485 authored by Arnaud Fontaine's avatar Arnaud Fontaine

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

Transform: Show better traceback on debugging failure of transform module import (!1751).
parent 75d950e6
......@@ -22,6 +22,7 @@ from Products.PortalTransforms.transforms.broken import BrokenTransform
def import_from_name(module_name):
""" import and return a module by its name """
__traceback_info__ = (module_name,)
return import_module(module_name)
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