Fix pickling errors with cache plugins (v2)

Fixes #10945
This commit is contained in:
James Cammarata 2015-05-07 21:14:16 -05:00
parent 198476e345
commit cd6d1f9221
4 changed files with 11 additions and 0 deletions

View file

@ -113,6 +113,8 @@ class CacheModuleKeys(collections.MutableSet):
self._cache = cache
self._keyset = dict(*args, **kwargs)
super(CacheModule, self).__init__()
def __contains__(self, key):
return key in self._keyset