Files @ 3c91ec4419a6
Branch filter:

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

Mads Kiilerich
pull requeset: move stuff around, preparing for next change

- and make sure we don't pass unicode to Mercurial


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