Commit d6fb665c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove the deprecated getConnectionByUUID.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1742 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 97089f72
......@@ -105,13 +105,6 @@ class EpollEventManager(object):
def getServerList(self):
return [c for c in self.getConnectionList() if c.isServer()]
def getConnectionByUUID(self, uuid):
# XXX: deprecated, use getConnectionListByUUID instead.
result = self.getConnectionListByUUID(uuid)
if result is not None:
result = result[:1]
return result
def getConnectionListByUUID(self, uuid):
""" Return the connection associated to the UUID, None if the UUID is
None, invalid or not found"""
......
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