NoNoneStore: Contain reference to the Cache

This commit is contained in:
Tomas Babej 2015-12-24 15:03:29 +01:00
parent 7ff54f0c5b
commit c812448c33

View file

@ -58,8 +58,8 @@ class WarriorStore(object):
class NoNoneStore(object):
def __init__(self, get_method):
self.get_method = get_method
def __init__(self, cache):
self.cache = cache
self.store = dict()
def __getitem__(self, key):