diff options
author | Adam Spiers <git@adamspiers.org> | 2016-06-11 23:26:44 +0100 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2018-05-15 13:42:16 +0100 |
commit | 627fc490e90ab6e54fcd68c77f4e8d22658223a6 (patch) | |
tree | 474213a08348696de0815661562cf1fbc3e733c8 /git_deps | |
parent | 25972db39d796575f17a20ebc6aea628f5816ed6 (diff) | |
download | git-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.py | 2 |
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) |