web/views/editforms.py
branchtls-sprint
changeset 1234 4d5ff6a3d539
parent 1183 62afd820d3ae
child 1276 f213008fad2c
--- 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