Commit a305d491 authored by Jérome Perrin's avatar Jérome Perrin

explain what path is not found in install


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37512 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ac42aeed
......@@ -681,13 +681,13 @@ class BaseTemplateItem(Implicit, Persistent):
# When relative_url is empty, returns the context
return context
__traceback_info__ = (container, key)
if value is None:
LOG('BusinessTemplate', WARNING,
'Could not access object %s' % path)
if default is not _MARKER:
return default
else:
raise KeyError
raise KeyError, key
return value
......
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