Skip to content

Commit 5558f37

Browse files
committed
pkgcheck scan: make sure outputted repo/commit results are sorted
1 parent a13c8ba commit 5558f37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pkgcheck/reporters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __call__(self, pipe, sort=False):
5353
except KeyError:
5454
self.report(result)
5555
# output repo and commit results after package-related results
56-
for result in chain.from_iterable(ordered_results.values()):
56+
for result in chain.from_iterable(sorted(x) for x in ordered_results.values()):
5757
self.report(result)
5858

5959
p.join()

0 commit comments

Comments
 (0)