Fixed #1203 -- Fixed two typos in cache.py. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
353d7e33cb
commit
51a699dea9
|
@ -29,7 +29,7 @@ The CACHE_BACKEND setting is a quasi-URI; examples are:
|
|||
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 @@ class _FileCache(_SimpleCache):
|
|||
pickle.dump(now + timeout, f, 2)
|
||||
pickle.dump(value, f, 2)
|
||||
except (IOError, OSError):
|
||||
raise
|
||||
pass
|
||||
|
||||
def delete(self, key):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue