Commit 094823c8 authored by Arnaud Fontaine's avatar Arnaud Fontaine

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

parent 636de5ba
......@@ -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