def textile(value):
    try:
        import textile
    except __HOLE__:
        if settings.DEBUG:
            raise template.TemplateSyntaxError, "Error in {% textile %} filter: The Python textile library isn't installed."
        return value
    else:
        return textile.textile(value, encoding=settings.DEFAULT_CHARSET, output=settings.DEFAULT_CHARSET)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/contrib/markup/templatetags/markup.py/textile