cleanup
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 09 Feb 2010 12:54:44 +0100
changeset 4518 5690bf6d6081
parent 4517 0f3c10fc42b2
child 4519 cce343c7d18a
cleanup
web/views/autoform.py
--- a/web/views/autoform.py	Tue Feb 09 12:41:44 2010 +0100
+++ b/web/views/autoform.py	Tue Feb 09 12:54:44 2010 +0100
@@ -32,11 +32,6 @@
 
 class InlinedFormField(ff.Field):
     def __init__(self, view=None, **kwargs):
-        if view.role == 'object':
-            fieldset = u'%s_object%s' % view.rtype
-        else:
-            fieldset = view.rtype
-        #kwargs.setdefault('fieldset', fieldset)
         kwargs.setdefault('label', None)
         super(InlinedFormField, self).__init__(name=view.rtype, role=view.role,
                                                eidparam=True, **kwargs)