cinder/cinder/common
Ivan Kolodyazhny 6bfa771054 Replace assert to raise AssertionError
This patch is a fix for the issue B101 assert_used found by bandit
scanner.
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: I16d9c228f0f8aadae2044ce8fb95d7738970b0d5
2019-06-05 18:41:21 +03:00
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
config.py Use config-table for dynamic config documentation 2019-02-26 16:50:39 -06:00
constants.py V3 jsonschema validation: os-services 2018-05-14 12:44:56 +05:30
sqlalchemyutils.py Replace assert to raise AssertionError 2019-06-05 18:41:21 +03:00