Skip to content

Commit

Permalink
chore: Remove unnecessary semi-colons
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamb authored and barthalion committed Aug 28, 2024
1 parent 75c0c49 commit a592363
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flat-manager-client
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ async def wait_for_job(session, job_url, token):
if start_after and start_after > now:
print("Waiting %d seconds before starting job" % (int(start_after - now)))
if job_status > 0 and old_job_status == 0:
print("/ Job was started");
print("/ Job was started")
old_job_status = job_status
log = job['log']
if len(log) > 0:
Expand Down Expand Up @@ -541,7 +541,7 @@ async def commit_build(session, build_url, eol, eol_rebase, token_type, wait, to
raise ApiError(resp, await resp.text())

job = await resp.json()
job_url = resp.headers['location'];
job_url = resp.headers['location']

if wait:
pass
Expand Down Expand Up @@ -592,11 +592,11 @@ async def publish_build(session, build_url, wait, token):
raise ApiError(resp, await resp.text())

job = await resp.json()
job_url = resp.headers['location'];
job_url = resp.headers['location']

if wait:
print("Waiting for publish job")
job = await wait_for_job(session, job_url, token);
job = await wait_for_job(session, job_url, token)

reparse_job_results(job)
job["location"] = job_url
Expand Down Expand Up @@ -774,7 +774,7 @@ async def push_command(session, args):
update_job_url = build_url_to_api(args.build_url) + "/job/" + str(update_job_id)
if args.wait_update:
print("Waiting for repo update job")
update_job = await wait_for_job(session, update_job_url, token);
update_job = await wait_for_job(session, update_job_url, token)
else:
update_job = await get_job(session, update_job_url, token)
reparse_job_results(update_job)
Expand All @@ -801,7 +801,7 @@ async def publish_command(session, args):
update_job_url = build_url_to_api(args.build_url) + "/job/" + str(update_job_id)
if args.wait_update:
print("Waiting for repo update job")
update_job = await wait_for_job(session, update_job_url, args.token);
update_job = await wait_for_job(session, update_job_url, args.token)
else:
update_job = await get_job(session, update_job_url, args.token)
reparse_job_results(update_job)
Expand Down

0 comments on commit a592363

Please sign in to comment.