Skip to content
Myr

Fixed a documenation bug in the cache extension.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent ee2d3c4 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/cache_extension.py+1 added-1 removed
47 unmodified lines
48 # try to load the block from the cache49 # if there is no fragment in the cache, render it and store50 # it in the cache.51 rv = self.environment.fragment_cache.get(key)52 if rv is None:52 if rv is not None:53 return rv54 rv = caller()55 self.environment.fragment_cache.add(key, rv, timeout)56 return rv