Files @ 58a4004224a2
Branch filter:

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

Marcin Kuzminski
fixes issue #710 File view stripping empty lines from begininng and end of the file. Fixed by setting default Pygment lexer option to not do that


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