Commit 5b024f12 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 fdd51228
...@@ -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