remove useless code stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 06 Oct 2009 17:49:42 +0200
branchstable
changeset 3575 4123323acaea
parent 3574 f179ccbd13e6
child 3576 a9ed6f7cf2c2
remove useless code
web/formfields.py
--- a/web/formfields.py	Tue Oct 06 17:45:10 2009 +0200
+++ b/web/formfields.py	Tue Oct 06 17:49:42 2009 +0200
@@ -576,8 +576,6 @@
                                                                 skip_meta_attr=False)
         return fieldclass(**kwargs)
     kwargs['role'] = role
-    if role == 'object': # tag the type with '_object' instead of the type
-        kwargs['label'] = (eschema.type, rschema.type + '_object')
     return RelationField.fromcardinality(card, **kwargs)