![]() In python2 dict.keys() returns a list, while in python3 it returns an
iterator. Modifying a dict while iterating over it(insert, delete)
produces a runtime error.
Wrapped all dict.keys() in list().
There was no atomic access (e.g. using locks) to be skipped.
To aid development time and avoid excessive testing, converted some
calls which could have been skipped:
- local scoped variables
- variables with no changes after assignment
(saved time identifying those)
Story: 2008454
Task: 42727
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I1a8b72e43ee5ceb7179e5bb0340d2be40450969f
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
_audits_module.py | ||
_vim_alarm_audits.py | ||
_vim_nfvi_audits.py |