reimplement usage of IdentMap
This commit is contained in:
parent
216bedc38f
commit
ac305b3873
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue