Add string-representation for Clients

to simplify debug-output
This commit is contained in:
Thor77 2017-07-23 17:31:11 +02:00
parent caff246f9a
commit 20d40c8890
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ class Clients(MutableMapping):
def __setitem__(self, key, value):
self.store[self.ident_map.get(key, key)] = value
def __str__(self):
return str(list(map(str, self)))
class Client(object):
'''