aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2016-06-11 23:26:44 +0100
committerAdam Spiers <git@adamspiers.org>2018-05-15 13:42:16 +0100
commit627fc490e90ab6e54fcd68c77f4e8d22658223a6 (patch)
tree474213a08348696de0815661562cf1fbc3e733c8 /git_deps
parent25972db39d796575f17a20ebc6aea628f5816ed6 (diff)
downloadgit-deps-627fc490e90ab6e54fcd68c77f4e8d22658223a6.tar.gz
fix invalid reference to json_err
Bug was discovered by PEP8 :-) Sem-Ver: bugfix
Diffstat (limited to 'git_deps')
-rw-r--r--git_deps/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_deps/server.py b/git_deps/server.py
index 261e03d..acef572 100644
--- a/git_deps/server.py
+++ b/git_deps/server.py
@@ -81,7 +81,7 @@ def serve(options):
try:
revisions = GitUtils.rev_list(revspec)
except subprocess.CalledProcessError:
- return json_err(
+ return json_error(
422, 'Invalid revision range',
"Could not resolve revision range '%s'" % revspec,
revspec=revspec)