Remove unneeded method getSuffixValues
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 06 Dec 2008 11:20:44 +0000
changeset 669 65b2475f1cc7
parent 668 77f9a6ea6e67
child 670 d6a827adea26
Remove unneeded method getSuffixValues Patch by: Sverre Rabbelier
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