Skip to content

Commit

Permalink
change for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzebsiddiqui committed Jul 16, 2024
1 parent 80743d0 commit 3148e00
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions buildtest/executors/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ def select_builders_to_run(self, builders):

run_builders.add(builder)

builders = []
for builder in run_builders:
if builder.is_pending():
builders.append(builder)
builders = [builder for builder in run_builders if builder.is_pending()]

# console.print(f"In this iteration we will run the following tests: {builders}", )
return builders
Expand Down

0 comments on commit 3148e00

Please sign in to comment.