use new-style class-definition
This commit is contained in:
parent
e7fc91229e
commit
e7cf036971
|
@ -5,7 +5,7 @@ from tsstats.exceptions import InvalidLog
|
||||||
logger = logging.getLogger('tsstats')
|
logger = logging.getLogger('tsstats')
|
||||||
|
|
||||||
|
|
||||||
class Clients:
|
class Clients(object):
|
||||||
|
|
||||||
def __init__(self, ident_map={}):
|
def __init__(self, ident_map={}):
|
||||||
self.clients_by_id = {}
|
self.clients_by_id = {}
|
||||||
|
@ -47,7 +47,7 @@ class Clients:
|
||||||
yield uid_client
|
yield uid_client
|
||||||
|
|
||||||
|
|
||||||
class Client:
|
class Client(object):
|
||||||
|
|
||||||
def __init__(self, identifier):
|
def __init__(self, identifier):
|
||||||
# public
|
# public
|
||||||
|
|
Loading…
Reference in New Issue