comparators/deb: Fix matching for .deb archive members. (Closes: #903565)
my_members is iterated in DebContainer.perform_fuzzy_matching but is modified
in Container.comparisons.prep_yield which remove the current item from
my_members.
This causes an `RuntimeError: OrderedDict mutated during iteration` error.
This was not detected by the existing `test_deb.test_compare_different_compression`
test as it triggers only when there is more than one file in the .deb file.
(That test use only one file: control.tar.{gz,xz}).
Signed-off-by: Chris Lamb <lamby@debian.org>
parent
fc0ae562
Loading
Loading
Pipeline
#16455
failed
with stage
in
11 minutes and 17 seconds
Loading