Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jahaniam committed Feb 24, 2021
1 parent f0860fc commit 0cb173b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utils/cli/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,12 @@ def tasks_list(self, use_json_output, **kwargs):
page = 1
while True:
response_json = response.json()
output+= response_json['results']
output += response_json['results']
for r in response_json['results']:
if use_json_output:
log.info(json.dumps(r, indent=4))
else:
log.info('{id},{name},{status}'.format(**r))


if not response_json['next']:
return output
page += 1
Expand Down

0 comments on commit 0cb173b

Please sign in to comment.