Comment 12 for bug 2011573

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ovn-octavia-provider (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/877464
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/730843bd66a7ebf8b67ae18f7bcc1434d33f4e13
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 730843bd66a7ebf8b67ae18f7bcc1434d33f4e13
Author: Fernando Royo <email address hidden>
Date: Tue Mar 14 12:18:34 2023 +0100

    Fix broken pep8 jobs due to bandit 1.7.5 updated version

    With the latest version of bandit (1.7.5), a new lint rule has been
    introduced that checks the inclusion of the timeout parameter for
    every "requests" call [1].

    So B113 lint rule[2] needs to be skipped or code adapted, this patch
    add the timeout parameter to the put/get requests.

    [1] https://github.com/PyCQA/bandit/commit/5ff73ff8ff956df7d63fde49c3bd671db8e821eb
    [2] https://bandit.readthedocs.io/en/latest/plugins/b113_request_without_timeout.html

    Closes-bug: #2011573
    Change-Id: I341faedbf7e237eed176e0d3ed3586b8d2c2cbb8
    (cherry picked from commit 1878eb4c21040ee34cde8a1aae6d1fb8993ae332)