diff --git a/django/core/cache.py b/django/core/cache.py index 14df9ddb1db7f..4c16f44c4e166 100644 --- a/django/core/cache.py +++ b/django/core/cache.py @@ -29,7 +29,7 @@ testing. Note that this cache backend is NOT threadsafe! - locmem:/// A more sophisticaed local memory cache; + locmem:/// A more sophisticated local memory cache; this is multi-process- and thread-safe. dummy:/// Doesn't actually cache. For use in test @@ -350,7 +350,7 @@ def set(self, key, value, timeout=None): pickle.dump(now + timeout, f, 2) pickle.dump(value, f, 2) except (IOError, OSError): - raise + pass def delete(self, key): try: