git-serve: Use Python exceptions for error handling
commit8914a41db938194efc021f842c89d47ff6b522c9
authorLukas Fleischer <lfleischer@archlinux.org>
Tue, 20 Dec 2016 16:56:09 +0000 (20 17:56 +0100)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 23 Dec 2016 19:05:05 +0000 (23 20:05 +0100)
treec7b085362c6a8b61868e53d01d85559550f02255
parent6d8edafe778809698246019c165b7c20b1e0afdf
git-serve: Use Python exceptions for error handling

Make it easier to reuse the helper functions provided by git-serve from
another Python script by throwing exceptions instead of terminating the
program on errors.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
aurweb/exceptions.py [new file with mode: 0644]
aurweb/git/serve.py