Files @ 7d0476e1f1dc
Branch filter:

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

Marcin Kuzminski
fixes issue #678 Incorrect diff markup when diff contains >, <, or & symbols
- regex by \W did split &amp; and other to 3 tokens, and escaping was broken


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