• Alexis Murzeau's avatar
    comparators/deb: Fix matching for .deb archive members. (Closes: #903565) · 8624d40f
    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 a `RuntimeError: OrderedDict mutated during iteration` error.
    This was not detected by the existing test test_deb.test_compare_different_compression
    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}).
    8624d40f
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
diffoscope Loading commit data...
doc Loading commit data...
tests Loading commit data...
.coveragerc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
logo.svg Loading commit data...
setup.py Loading commit data...