Commit deee7c9e authored by Guido van Rossum's avatar Guido van Rossum

There's no need for notify_closed() to take a 'conn' argument.

parent 95f8ccb6
......@@ -162,7 +162,7 @@ class ConnectionManager:
self.connection = c
self._thread = None
def notify_closed(self, conn):
def notify_closed(self):
self.connected = 0
self.connection = None
self.client.notifyDisconnected()
......
......@@ -462,4 +462,4 @@ class ManagedConnection(Connection):
def close(self):
self.__super_close()
self.__mgr.notify_closed(self)
self.__mgr.notify_closed()
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