integ/tools
Charles Short 277d10417b Fix py3 issues
- Update popen to use universal_newlines=True to enable newlines
  for calls that we parse or consume output for. Without universal_newlines=True,
  the output is treated as bytes under python3
  which leads to issues later where we are using it as
  strings.
- The division operator in Python 3 results in a float, not an integer
  like in Python 2. Use the truncation division operator instead.
- Use python builtins since the behavior of round has changed between
  python2 and python3.
  (https://docs.python.org/3/whatsnew/3.0.html#builtins)

Story: 2006796
Task: 42695

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I9c9a4fdfd8a65cf6a3034a2c80c3a620ab138d22
(cherry picked from commit 9ced50cf38)
2021-08-16 14:15:42 +00:00
..
engtools/parsers Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
spec-tools speclint: only show the diff files 2019-06-27 10:36:24 -07:00
storage-topology/storage-topology Fix py3 issues 2021-08-16 14:15:42 +00:00