From cb6d433dca6072bb41b9db0593155d5f659cce25 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 19 May 2016 15:40:28 +0200 Subject: [PATCH] add usage of ident_map for tsstats.client.Clients.__setitem__ --- tsstats/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tsstats/client.py b/tsstats/client.py index 3b0fd0c..bf862b0 100644 --- a/tsstats/client.py +++ b/tsstats/client.py @@ -48,6 +48,7 @@ class Clients(MutableMapping): return len(self.store) def __setitem__(self, key, value): + key = self.ident_map.get(key, key) self.store[key] = value