From ac305b387348793e29981bfbe307314fe25ddd08 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 19 May 2016 15:22:16 +0200 Subject: [PATCH] reimplement usage of IdentMap --- tsstats/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsstats/client.py b/tsstats/client.py index e8f49bf..7738ce0 100644 --- a/tsstats/client.py +++ b/tsstats/client.py @@ -38,7 +38,7 @@ class Clients(MutableMapping): return iter(self.store.values()) def __getitem__(self, key): - return self.store[key] + return self.store[self.ident_map.get(key, key)] def __delitem__(self, key): del self.store[key]