Files @ 76ae40e514eb
Branch filter:

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

Mads Kiilerich
config: automatically assign instance_id for host and process if it has been set to *

It is no longer a problem to invent new instance_ids on startup - unused keys
will be deleted.


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