integ/tools/storage-topology/storage-topology
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
..
storage_topology Fix py3 issues 2021-08-16 14:15:42 +00:00
LICENSE Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00
setup.py Internal restructuring of stx-integ 2018-08-01 10:06:31 -04:00