diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-04-18 13:55:32 +0100 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-04-18 13:55:32 +0100 |
commit | 63927c35611bf56a1fce03750e953ec5250fb282 (patch) | |
tree | 76ef3cf6ab81b3fb67cf405828573a3532f02eae /morph-cache-server | |
parent | 9ba282863b41bea8d9fe990a9aba92677e2f4501 (diff) | |
download | morph-cache-server-63927c35611bf56a1fce03750e953ec5250fb282.tar.gz |
Raise a RepositoryNotFoundError if a repo does not exist in the cache.
Diffstat (limited to 'morph-cache-server')
-rwxr-xr-x | morph-cache-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morph-cache-server b/morph-cache-server index 777e627..b13241b 100755 --- a/morph-cache-server +++ b/morph-cache-server @@ -41,7 +41,7 @@ class MorphCacheServer(cliapp.Application): app = Bottle() repo_cache = RepoCache(self, self.settings['repo-dir']) - + @app.get('/sha1s') def sha1(): repo = self._unescape_parameter(request.query.repo) |