Commit 59be3ed4 authored by Arnaud Fontaine's avatar Arnaud Fontaine Committed by Jérome Perrin

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

parent 86dd451e
......@@ -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