

@register.tag
def ssi(parser, token):
    '\n    Outputs the contents of a given file into the page.\n\n    Like a simple "include" tag, the ``ssi`` tag includes the contents\n    of another file -- which must be specified using an absolute path --\n    in the current page::\n\n        {% ssi "/home/html/ljworld.com/includes/right_generic.html" %}\n\n    If the optional "parsed" parameter is given, the contents of the included\n    file are evaluated as template code, with the current context::\n\n        {% ssi "/home/html/ljworld.com/includes/right_generic.html" parsed %}\n    '
    bits = token.split_contents()
    parsed = False
    if (len(bits) not in (2, 3)):
        raise TemplateSyntaxError("'ssi' tag takes one argument: the path to the file to be included")
    if (len(bits) == 3):
        if (bits[2] == 'parsed'):
            parsed = True
        else:
            raise TemplateSyntaxError(("Second (optional) argument to %s tag must be 'parsed'" % bits[0]))
    filepath = parser.compile_filter(bits[1])
    return SsiNode(parser, parsed, legacy_filepath=False)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/templatetags/future.py ssi/VarMisuse@118/398 `filepath`->`parser`