6e6166bda47bd1fc8687340e479a913e7fc0ed58
This patch is a fix for the issue B101 assert_used found by bandit scanner: https://docs.openstack.org/bandit/latest/plugins/b101_assert_used.html As assert functionality could be turned off by the -O option for python interpreter, assert statements were replaced to raise AssertionError. The main reasoning for that is rest code after assert could be not ready for values that assert filters. Change-Id: I92a871b1b496c96c0c76cb37e4dda51bfc007e38 Related-Bug: #1759250
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: https://docs.openstack.org
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst
Description
Languages
Python
99.7%
Shell
0.3%