Skip to content
Commit 8b90ec1a authored by Alexis Murzeau's avatar Alexis Murzeau Committed by Chris Lamb
Browse files

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's avatarChris Lamb <lamby@debian.org>
parent fc0ae562
Loading
Loading
Loading
Pipeline #16455 failed with stage
in 11 minutes and 17 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment