Files @ 8df1bc51aa9c
Branch filter:

Location: kallithea/rhodecode/lib/rcmail/exceptions.py

Mads Kiilerich
diff parser: prefer git headers over old unified diff headers

Makes the diff show both rename and chmod info and the diff.


class InvalidMessage(RuntimeError):
    """
    Raised if message is missing vital headers, such
    as recipients or sender address.
    """


class BadHeaders(RuntimeError):
    """
    Raised if message contains newlines in headers.
    """