Fixed a bug in the documentation tool
authorArmin Ronacher <armin.ronacher@active-4.com>
Mon, 24 Jan 2011 00:14:20 +0000 (01:14 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Mon, 24 Jan 2011 00:14:20 +0000 (01:14 +0100)
docs/jinjaext.py

index 66f4ba11652f5a255c6118cc58d63fcaadd2f838..12b544703d34a380964094fb992cdb72825215e1 100644 (file)
@@ -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: