nfv/nfv/nfv-common/nfv_common/tcp
Dan Voiculeasa 62714dcfa6 py3: nfv wrap dict.values() in list()
In python2 dict.values() 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.values() 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: I14b970735a2f36649d008ce841527ee5467c03e7
2021-07-02 17:25:48 +03:00
..
__init__.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_tcp_connection.py py3: nfv use real division operator 2021-06-29 12:22:42 +03:00
_tcp_server.py py3: nfv wrap dict.values() in list() 2021-07-02 17:25:48 +03:00
unit_test.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00