view MoinMoin/parser/ @ 4443:20747ef82aca

PEP8 trailing whitespace removed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 02 Jan 2009 23:51:28 +0100
parents e25b00b3a308
children b7ab238032dd
line wrap: on
line source

# -*- coding: iso-8859-1 -*-
    MoinMoin - diff/patch Parser

    DEPRECATED compatibility wrapper calling the highlight parser.

    This is to support (deprecated) existing syntax like:
    {{{#!diff ...

    It is equivalent to the new way to highlight code:
    {{{#!highlight diff ...

    @copyright: 2008 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details.

from MoinMoin.parser.highlight import Parser as HighlightParser
from MoinMoin.parser.highlight import Dependencies

class Parser(HighlightParser):
    parsername = 'diff'  # Lexer name pygments recognizes