Commit 9cde65cf authored by Jérome Perrin's avatar Jérome Perrin

Revert "ProxyField: fix 'cannot find a template field' error message"

This reverts commit 95d2f1e8.
parent 2f050dc4
......@@ -546,7 +546,7 @@ class ProxyField(ZMIField):
else:
proxied_field = self.getTemplateField()
if proxied_field is None:
raise AttributeError('The proxy field %s cannot find a template field' % self)
raise AttributeError('The proxy field %r cannot find a template field' % self)
if proxied_field.__class__ == ProxyField:
return proxied_field.get_recursive_tales(id)
else:
......
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