Files @ cfcd981d6679
Branch filter:

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

Indra Talip
import with_statment to make daemon.py python 2.5 compatible


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