diff options
Diffstat (limited to 'tools/bionicbb/gerrit.py')
-rw-r--r-- | tools/bionicbb/gerrit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bionicbb/gerrit.py b/tools/bionicbb/gerrit.py index 76e42b4..40719b4 100644 --- a/tools/bionicbb/gerrit.py +++ b/tools/bionicbb/gerrit.py @@ -62,8 +62,8 @@ def get_labels(change_id, patch_set): } } """ - details = call('/changes/{}/revisions/{}/review'.format( - change_id, patch_set)) + details = json.loads(call('/changes/{}/revisions/{}/review'.format( + change_id, patch_set))) labels = {'Code-Review': {}, 'Verified': {}} for review in details['labels']['Code-Review']['all']: if 'value' in review and 'email' in review: |