Remove class variable from connectionlistener

This commit is contained in:
Kovid Goyal 2013-02-09 11:27:28 +05:30
parent f116122943
commit 1bb50ab08e

View File

@ -52,9 +52,7 @@ def synchronous(tlockname):
return _synched return _synched
class ConnectionListener (Thread): class ConnectionListener(Thread):
all_ip_addresses = dict()
NOT_SERVICED_COUNT = 6 NOT_SERVICED_COUNT = 6
@ -63,7 +61,7 @@ class ConnectionListener (Thread):
self.daemon = True self.daemon = True
self.driver = driver self.driver = driver
self.keep_running = True self.keep_running = True
all_ip_addresses = dict() self.all_ip_addresses = dict()
def stop(self): def stop(self):
self.keep_running = False self.keep_running = False