Mercurial > kallithea
view rhodecode/lib/rcmail/exceptions.py @ 2407:8a68e0292232 beta
Change git & hg hooks to post. They shouldn't block as they are used just for logging actions. Futhermore post hooks have access to changesets, so it's much better flexible
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 06 Jun 2012 22:23:27 +0200 |
parents | 349a0ca30a75 |
children |
line wrap: on
line source
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. """