projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22a53d
)
[svn] fixed beewee's bug
author
Armin Ronacher
<armin.ronacher@active-4.com>
Sun, 1 Apr 2007 10:07:21 +0000
(12:07 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Sun, 1 Apr 2007 10:07:21 +0000
(12:07 +0200)
--HG--
branch : trunk
jinja/filters.py
patch
|
blob
|
history
diff --git
a/jinja/filters.py
b/jinja/filters.py
index 76dd1beb396065c654b6e100c6cd60f903dd3590..4cb2661ef37d4c6a96ad18688c28e6a3c19109a1 100644
(file)
--- a/
jinja/filters.py
+++ b/
jinja/filters.py
@@
-599,7
+599,7
@@
def do_capture(name='captured', clean=False):
{% endfilter %}
{{ foo }}
"""
- if not isinstance(name,
unicode
):
+ if not isinstance(name,
basestring
):
raise FilterArgumentError('You can only capture into variables')
def wrapped(env, context, value):
context[name] = value