Files @ bbd72d82060a
Branch filter:

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

Marcin Kuzminski
moved out password reset tasks from celery, it doesn't make any sense to keep them there, additionally they are broken
in when executing _(), and url() calls. This fixes issue #572


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