app/soc/logic/models/base.py
changeset 669 65b2475f1cc7
parent 661 d7b643255255
child 671 2c02178037ff
--- 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