Skip to content

Commit 55061be

Browse files
authored
Modified to inplace sort (#153)
1 parent de67e9d commit 55061be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clodius/cli/aggregate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def line_to_dict(line):
369369

370370
tile_counts = col.defaultdict(lambda: col.defaultdict(lambda: col.defaultdict(int)))
371371
# Sort from high to low importance
372-
entries = sorted(entries, key=lambda x: -x["importance"])
372+
entries.sort(key=lambda x: -x["importance"])
373373

374374
interval_inserts = []
375375
position_index_inserts = []

0 commit comments

Comments
 (0)