Files @ d18500a8840c
Branch filter:

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

Marcin Kuzminski
Patch demandimport.enable because of bug introduced
in mercurial 2.5.0. Demand import is always enabled
after importing hooks. .Rhodecode doesn't work with
it.


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