mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
NoNoneStore: Contain reference to the Cache
This commit is contained in:
parent
7ff54f0c5b
commit
c812448c33
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ class WarriorStore(object):
|
||||||
|
|
||||||
class NoNoneStore(object):
|
class NoNoneStore(object):
|
||||||
|
|
||||||
def __init__(self, get_method):
|
def __init__(self, cache):
|
||||||
self.get_method = get_method
|
self.cache = cache
|
||||||
self.store = dict()
|
self.store = dict()
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue