Comment 9 for bug 1840068

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/stein)

Reviewed: https://review.opendev.org/676496
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e135afec851e33148644d024a9d78e56f962efd4
Submitter: Zuul
Branch: stable/stein

commit e135afec851e33148644d024a9d78e56f962efd4
Author: Sean Mooney <email address hidden>
Date: Tue Aug 13 18:58:41 2019 +0100

    lxc: make use of filter python3 compatible

    _detect_nbd_devices uses the filter
    builtin internally to filter valid devices.

    In python 2, filter returns a list. In python 3,
    filter returns an iterable or generator function.
    This change eagerly converts the result of calling filter
    to a list to preserve the python 2 behaviour under python 3.

    Closes-Bug: #1840068

    Change-Id: I25616c5761ea625a15d725777ae58175651558f8
    (cherry picked from commit fc9fb383c16ecb98b1b546f21e7fabb5f00a42ac)