projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2d3c4
)
Fixed a documenation bug in the cache extension.
author
Armin Ronacher
<armin.ronacher@active-4.com>
Sun, 8 Feb 2009 10:11:57 +0000
(11:11 +0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Sun, 8 Feb 2009 10:11:57 +0000
(11:11 +0100)
--HG--
branch : trunk
docs/cache_extension.py
patch
|
blob
|
history
diff --git
a/docs/cache_extension.py
b/docs/cache_extension.py
index c736a6503fc33543f02a1770b9182e89e7158c7d..8fdefb5c59de761d444de794e92ae4075865c2df 100644
(file)
--- a/
docs/cache_extension.py
+++ b/
docs/cache_extension.py
@@
-49,7
+49,7
@@
class FragmentCacheExtension(Extension):
# 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)