From a15b2539a1b1995eb320a6e79ed0ab89a51e4592 Mon Sep 17 00:00:00 2001 From: Christian Pedersen Date: Mon, 10 Aug 2015 21:27:17 +0200 Subject: [PATCH] Return None --- redis_cache/backends/dummy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redis_cache/backends/dummy.py b/redis_cache/backends/dummy.py index 991d7934..d307cf46 100644 --- a/redis_cache/backends/dummy.py +++ b/redis_cache/backends/dummy.py @@ -6,7 +6,7 @@ def ttl(self, key): return 0 def delete_pattern(self, pattern, version=None): - raise NotImplementedError + return None def get_or_set(self, key, func, timeout=None): if not callable(func): @@ -15,7 +15,7 @@ def get_or_set(self, key, func, timeout=None): return func() def reinsert_keys(self): - raise NotImplementedError + return None def persist(self, key): return True