From e7cf036971dca8aed866c444b63a7c8ece3c15c4 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Wed, 11 May 2016 20:53:17 +0200 Subject: [PATCH] use new-style class-definition --- tsstats/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsstats/client.py b/tsstats/client.py index 12a8ca3..8b225e6 100644 --- a/tsstats/client.py +++ b/tsstats/client.py @@ -5,7 +5,7 @@ from tsstats.exceptions import InvalidLog logger = logging.getLogger('tsstats') -class Clients: +class Clients(object): def __init__(self, ident_map={}): self.clients_by_id = {} @@ -47,7 +47,7 @@ class Clients: yield uid_client -class Client: +class Client(object): def __init__(self, identifier): # public