changelog: fix consistency of returned data to 2 element tuple.
This commit is contained in:
parent
3783c23d90
commit
6eac893f8f
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class RepoChangelogView(RepoAppView):
|
|||
:param commits: list of commits
|
||||
"""
|
||||
if not commits:
|
||||
return json.dumps([])
|
||||
return json.dumps([]), json.dumps([])
|
||||
|
||||
def serialize(commit, parents=True):
|
||||
data = dict(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue