Skip to content

Commit

Permalink
prepare_evaluation: process_characteristics: simplify statement
Browse files Browse the repository at this point in the history
No need to recalculate affected lists: we already stored them in the
characteristics. So let's reuse that value.

Signed-off-by: Ralf Ramsauer <[email protected]>
  • Loading branch information
rralf committed May 12, 2021
1 parent 74f5332 commit 3006c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pasta_prepare_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def prepare_process_characteristics(config, clustering):

# Dump an entry for each list the patch was sent to. This allows
# for grouping by mailing lists.
for ml in sorted(repo.mbox.get_lists(message_id)):
for ml in sorted(c.lists):
list_matches_patch = c.list_matches_patch(ml)
row = {'id': message_id,
'from': mail_from,
Expand Down

0 comments on commit 3006c20

Please sign in to comment.