Files @ 0d22458bd360
Branch filter:

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

Mads Kiilerich
diff parser: more correct detection and reporting of binary git diffs

git mode is not just used for binary diffs.


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.
    """