Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Clauss <[email protected]>
  • Loading branch information
jcjones and cclauss authored Mar 1, 2024
1 parent 0eb97a9 commit b9693ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions partitionmanager/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,7 @@ def do_partition(conf):
all_results = {}
for table in conf.tables:
try:
results = _partition_table(conf, log, table, metrics)
if results:
if results := _partition_table(conf, log, table, metrics):
all_results[table.name] = results

except partitionmanager.types.NoEmptyPartitionsAvailableException:
Expand Down

0 comments on commit b9693ed

Please sign in to comment.