Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a documenation bug in the cache extension.

branch : trunk
  • Loading branch information...
commit 7850dc597e99ffd62628ce9f319f18373f216b6c 1 parent ee2d3c4
@mitsuhiko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/
2  docs/
@@ -49,7 +49,7 @@ def _cache_support(self, name, timeout, caller):
# if there is no fragment in the cache, render it and store
# it in the cache.
rv = self.environment.fragment_cache.get(key)
- if rv is None:
+ if rv is not None:
return rv
rv = caller()
self.environment.fragment_cache.add(key, rv, timeout)
Please sign in to comment.
Something went wrong with that request. Please try again.