# HG changeset patch # User Sylvain Thénault # Date 1305126359 -7200 # Node ID 96923d75610b33391029ed1157d8d786bf7b3fd3 # Parent b3709a8274d5755a1c408dc301c32abc91f0c03c [cleanup] kill some remaining traces of goa diff -r b3709a8274d5 -r 96923d75610b entities/authobjs.py --- 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) diff -r b3709a8274d5 -r 96923d75610b entities/schemaobjs.py --- 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'