Comment 2 for bug 1956785

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lib (master)

Reviewed: https://review.opendev.org/c/openstack/neutron-lib/+/823857
Committed: https://opendev.org/openstack/neutron-lib/commit/88b755c0e86414ce8d6b57d6335d22bb892eaffb
Submitter: "Zuul (22348)"
Branch: master

commit 88b755c0e86414ce8d6b57d6335d22bb892eaffb
Author: Harald Jensås <email address hidden>
Date: Fri Jan 7 19:21:58 2022 +0100

    Fix collect duplicates TypeError for dict values

    The _collect_duplicates uses a set for duplicates. This
    does not work when the values in the list are dictionaries.

    Instead of using a set, use a list and extend the condition to
    only add to the list if seen and not already in dups.

    Closes-Bug: #1956785
    Change-Id: Iad627bcfb95699febd504d7dc7fc9e8a7d813a9e