# HG changeset patch # User Sverre Rabbelier # Date 1228562444 0 # Node ID 65b2475f1cc7b758af57047ec015b6d6b51eb681 # Parent 77f9a6ea6e67084a5fec910fc940338459a75c28 Remove unneeded method getSuffixValues Patch by: Sverre Rabbelier diff -r 77f9a6ea6e67 -r 65b2475f1cc7 app/soc/logic/models/base.py --- a/app/soc/logic/models/base.py Fri Dec 05 22:54:43 2008 +0000 +++ b/app/soc/logic/models/base.py Sat Dec 06 11:20:44 2008 +0000 @@ -150,19 +150,6 @@ return [entity.scope_path, entity.link_id] - def getSuffixValues(self, entity): - """Returns an array with the public values of the Key Fields. - - Defaults to getKeyValues - If any of the Key Fields should not be made public, this method - should return their public counterparts instead. - - Args: - entity: the entity for which to construct the suffix - """ - - return self.getKeyValues(entity) - def getKeyValuesFromFields(self, fields): """Extracts the key values from a dict and returns them. @@ -192,7 +179,7 @@ if not entity: return None - key_values = self.getSuffixValues(entity) + key_values = self.getKeyValues(entity) suffix = '/'.join(key_values) return suffix