Skip to content

Commit

Permalink
Removed 'else' statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mflierm committed Apr 21, 2022
1 parent 59dedd2 commit 2a1a3c9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions bin/bootstrax
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,11 @@ def main():
log_warning(message, priority='fatal')
raise ValueError(message)

else:
set_state('busy')
process_run(rd)
log.info(
f'bootstrax ({hostname}) finished run {number} in {(now() - t_start).seconds} seconds')
wait_on_delete_thread()
set_state('busy')
process_run(rd)
log.info(
f'bootstrax ({hostname}) finished run {number} in {(now() - t_start).seconds} seconds')
wait_on_delete_thread()

else:
# Start processing
Expand Down

2 comments on commit 2a1a3c9

@mflierm
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JoranAngevaare Removed the 'else' now! I think I am indeed ready for my first (!) PR :) Who should I add as reviewers?

@JoranAngevaare
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mflierm , great! You can request me as a reviewer

Please sign in to comment.