Revert "Automagic: Sort DTB results by test"

This reverts commit 75feba0099.
This commit is contained in:
Mike Auty
2021-09-08 21:46:35 +01:00
parent 75feba0099
commit ca047c1fd5
+1 -1
View File
@@ -206,7 +206,7 @@ class WindowsIntelStacker(interfaces.automagic.StackerLayerInterface):
sections = sections,
progress_callback = progress_callback)
# Flatten the generator
hits = sorted(list(hits), key = lambda x: tests.index(x[0]))
hits = list(hits)
if hits:
# TODO: Decide which to use if there are multiple options
test, page_map_offset = hits[0]