##// END OF EJS Templates
dependencies: Add futures as a dependency of Gunicorn....
dependencies: Add futures as a dependency of Gunicorn. Gunicorn needs futures on Python 2 when used with multiple threads per worker. This is addressing issue #3995.

File last commit:

r1:854a839a default
r143:578aa36d default
Show More
exceptions.py
13 lines | 246 B | text/x-python | PythonLexer
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.
"""