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

@ -54,8 +54,6 @@ def synchronous(tlockname):
class ConnectionListener(Thread): class ConnectionListener(Thread):
all_ip_addresses = dict()
NOT_SERVICED_COUNT = 6 NOT_SERVICED_COUNT = 6
def __init__(self, driver): def __init__(self, driver):
@ -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