fault/python-fmclient/fmclient/fmclient
Chuck Short 30e9761ede debian: Fix python3 syntax warning
From https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior:

The compiler now produces a SyntaxWarning when identity
checks (is and is not) are used with certain types of
literals (e.g. strings, numbers). These can often work
by accident in CPython, but are not guaranteed by the
language spec. The warning advises users to use
equality tests (== and !=) instead.

Test Plan:
PASS Apply patch test the output of fm alarm-list on Debian 11.
PASS Apply patch test the output of fm alarm-list on Centos 7.

Closes-Bug: 1960958

Signed-off-by: Chuck Short <charles.short@windriver.com>
Change-Id: I12c43f336a449876fab8592e34eace674518d0da
2022-03-25 18:47:55 +00:00
..
common debian: Fix python3 syntax warning 2022-03-25 18:47:55 +00:00
v1 Use newer flake8 on python3.8 zuul systems 2020-11-16 13:35:31 -06:00
__init__.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
client.py Add support to --insecure parameter in fmclient 2022-01-20 11:56:43 -03:00
exc.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
shell.py Add support to --insecure parameter in fmclient 2022-01-20 11:56:43 -03:00