Go to file
Max 6e6166bda4 Replace assert to raise AssertionError
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
2018-04-10 16:01:48 +04:00
2016-06-28 22:46:19 +02:00
2016-10-17 17:06:19 +05:30
2014-05-16 13:40:04 -04:00
2018-03-22 16:27:44 -04:00
2017-06-13 19:26:49 +00:00
2017-08-31 16:44:51 +02:00
2017-08-03 09:47:25 +08:00
2017-03-04 11:19:58 +00:00
2018-04-10 16:01:48 +04:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%