• Alexis Murzeau's avatar
    comparators/deb: Fix matching for .deb archive members. (Closes: #903565) · 8b90ec1a
    Alexis Murzeau authored
    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>
    8b90ec1a
Name
Last commit
Last update
..
comparators Loading commit data...
presenters Loading commit data...
readers Loading commit data...
__init__.py Loading commit data...
changes.py Loading commit data...
config.py Loading commit data...
diff.py Loading commit data...
difference.py Loading commit data...
exc.py Loading commit data...
excludes.py Loading commit data...
external_tools.py Loading commit data...
feeders.py Loading commit data...
locale.py Loading commit data...
logging.py Loading commit data...
main.py Loading commit data...
path.py Loading commit data...
profiling.py Loading commit data...
progress.py Loading commit data...
tempfiles.py Loading commit data...
tools.py Loading commit data...