Skip to content

Commit

Permalink
Merge pull request #4319 from bruntib/fix_compare_results_script
Browse files Browse the repository at this point in the history
[fix] fix compare_results.py sciprt
  • Loading branch information
bruntib authored Aug 21, 2024
2 parents b60576d + 60fd1b8 commit 1743180
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/result_listing/compare_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
import sys

def __sorted_results(result_file):
return json.load(result_file).sort(
results = json.load(result_file)
results.sort(
key=lambda report: report['bugHash'] + str(report['reportId']))
return results

def __print_missing(needles, haystack, haystack_name):
for needle in needles:
Expand Down

0 comments on commit 1743180

Please sign in to comment.