Mercurial > kallithea
comparison init.d/kallithea-daemon-debian @ 5542:1fc8d7e9f3ab
cleanup: replace abort with WebOb exceptions
All abort does is to look up the matching WebOb exception and raising
that; so just raise it directly. WebOb exception names are also more
readable than HTTP error codes. (And finally, don't "return abort",
since abort never returns.)
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Mon, 07 Sep 2015 15:07:35 +0200 |
parents | 99ad9d0af1a3 |
children | e285bb7abb28 |
comparison
equal
deleted
inserted
replaced
5541:e553602fd5be | 5542:1fc8d7e9f3ab |
---|