Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a bug in the documentation tool

  • Loading branch information...
commit d464d0820c6a42f77a7c52516195840602195936 1 parent 3383e1c
@mitsuhiko authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.