Commit 1643a9bd authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove an unused method (and implemented into PartitionTable)


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@850 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a3b0d7a8
......@@ -297,9 +297,6 @@ class Application(object):
_callable, args, kwargs = p()
_callable(*args, **kwargs)
def getPartition(self, oid_or_tid):
return unpack('!Q', oid_or_tid)[0] % self.num_partitions
def shutdown(self):
"""Close all connections and exit"""
for c in self.em.getConnectionList():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment