author | sylvain.thenault@logilab.fr |
Mon, 06 Apr 2009 12:20:28 +0200 | |
branch | tls-sprint |
changeset 1234 | 4d5ff6a3d539 |
parent 1186 | 58b4ec2a77f5 |
child 1246 | 76b3cd5d4f31 |
--- a/web/views/editforms.py Fri Mar 27 17:11:02 2009 +0100 +++ b/web/views/editforms.py Mon Apr 06 12:20:28 2009 +0200 @@ -297,7 +297,7 @@ @iclassmethod def field_by_name(cls_or_self, name, role='subject', eclass=None): try: - return super(AutomaticEntityForm, cls_or_self, name, role) + return super(AutomaticEntityForm, cls_or_self).field_by_name(name, role) except Exception: # XXX should raise more explicit exception if eclass is None: raise