Fix typo in return type

This commit is contained in:
Erik Johnston 2017-01-17 14:43:32 +00:00
parent e8ecbb6f20
commit 37b4c7d8a9
1 changed files with 2 additions and 3 deletions

View File

@ -178,9 +178,8 @@ class Cache(object):
self.sequence += 1
self.cache.del_multi(key)
val = self._pending_deferred_cache.pop(key, None)
if val is not None:
entry_dict, _ = val
entry_dict = self._pending_deferred_cache.pop(key, None)
if entry_dict is not None:
for entry in iterate_tree_cache_entry(entry_dict):
entry.invalidate()