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): ...@@ -681,13 +681,13 @@ class BaseTemplateItem(Implicit, Persistent):
# When relative_url is empty, returns the context # When relative_url is empty, returns the context
return context return context
__traceback_info__ = (container, key)
if value is None: if value is None:
LOG('BusinessTemplate', WARNING, LOG('BusinessTemplate', WARNING,
'Could not access object %s' % path) 'Could not access object %s' % path)
if default is not _MARKER: if default is not _MARKER:
return default return default
else: raise KeyError, key
raise KeyError
return value 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