Skip to content

Commit

Permalink
Fixed a bug in the documentation tool
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jan 24, 2011
1 parent 3383e1c commit d464d08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/jinjaext.py
Expand Up @@ -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:
Expand Down

0 comments on commit d464d08

Please sign in to comment.