Skip to content

Commit

Permalink
Remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
laemtl committed Sep 16, 2021
1 parent 1ce9532 commit 5f1469e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/lib/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def login(self):

try:
resp_json = json.loads(resp.content.decode('ascii'))
print(resp_json)
if resp_json.get('error'):
print(resp_json.get('error'))
else:
Expand Down Expand Up @@ -72,7 +71,7 @@ def start_next_stage(self, candid, visit, site, subproject, project, date):
verify=False
)

print('resp.status_code:')
print(resp.status_code)
print('resp.text:')
print(resp.text)
if (resp.status and resp.status.code and resp.status.code == 200):
print("Next stage successfully started.")
else:
print("An error occured. Can't start next stage.")

0 comments on commit 5f1469e

Please sign in to comment.