Permalink
Browse files

Fixed a bug in the documentation tool

  • Loading branch information...
1 parent 3383e1c commit d464d0820c6a42f77a7c52516195840602195936 @mitsuhiko mitsuhiko committed Jan 24, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 docs/jinjaext.py
View
3 docs/jinjaext.py
@@ -92,7 +92,8 @@ def format_function(name, aliases, func):
try:
argspec = inspect.getargspec(func)
if getattr(func, 'environmentfilter', False) or \
- getattr(func, 'contextfilter', False):
+ getattr(func, 'contextfilter', False) or \
+ getattr(func, 'evalcontextfilter', False):
del argspec[0][0]
signature = inspect.formatargspec(*argspec)
except:

0 comments on commit d464d08

Please sign in to comment.