Skip to content

Commit

Permalink
Return None
Browse files Browse the repository at this point in the history
  • Loading branch information
chripede committed Aug 10, 2015
1 parent ce24c7a commit a15b253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redis_cache/backends/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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
Expand Down

0 comments on commit a15b253

Please sign in to comment.