--- a/entities/authobjs.py Wed May 11 17:04:29 2011 +0200
+++ b/entities/authobjs.py Wed May 11 17:05:59 2011 +0200
@@ -29,9 +29,6 @@
fetch_attrs, fetch_order = fetch_config(['name'])
fetch_unrelated_order = fetch_order
- def db_key_name(self):
- """XXX goa specific"""
- return self.get('name')
class CWUser(AnyEntity):
@@ -156,10 +153,6 @@
dc_long_title = name
- def db_key_name(self):
- """XXX goa specific"""
- return self.get('login')
-
from logilab.common.deprecation import class_renamed
EUser = class_renamed('EUser', CWUser)
EGroup = class_renamed('EGroup', CWGroup)
--- a/entities/schemaobjs.py Wed May 11 17:04:29 2011 +0200
+++ b/entities/schemaobjs.py Wed May 11 17:05:59 2011 +0200
@@ -45,10 +45,6 @@
return u'%s <<%s>>' % (self.dc_title(), ', '.join(stereotypes))
return self.dc_title()
- def db_key_name(self):
- """XXX goa specific"""
- return self.get('name')
-
class CWRType(AnyEntity):
__regid__ = 'CWRType'
@@ -87,10 +83,6 @@
"has cardinality=%(card)s")
raise ValidationError(self.eid, {qname: msg % locals()})
- def db_key_name(self):
- """XXX goa specific"""
- return self.get('name')
-
class CWRelation(AnyEntity):
__regid__ = 'CWRelation'