def textile(value):
    """
    Textile processing.
    """
    try:
        import textile
    except __HOLE__:
        warnings.warn("The Python textile library isn't installed.",
                      RuntimeWarning)
        return value

    return textile.textile(force_text(value),
                           encoding='utf-8', output='utf-8')
dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/markups.py/textile