use new-style class-definition

This commit is contained in:
Thor77 2016-05-11 20:53:17 +02:00
parent e7fc91229e
commit e7cf036971
1 changed files with 2 additions and 2 deletions

View File

@ -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