Charles Short c9857c8cf4 python3: Fix python3 compatibility issues
- Replace 'range' with six.moves.range.
- Replace 'zip' with six.moves.zip.
- Replace 'map' with six.moves.map.
- Replace dict.keys() with list(dict.keys()) to get a list on Python
  3. On Python 3, dict.keys() now returns a view.
- Fix 'TypeError: unorderable types: NoneType() < int()' for python3
- Python 3 changed the iso8601 module iso8601.iso8601.Utc()
  function to iso8601.UTC.  This is compatible with Python2.7.

Testing:

1. Built new fm-rest-api rpm package.
2. Built new ISO with newer fm-rest-api and installed fine.
3. Checked for an exception in the logs while running "fm event-list".
4. Ran "fm alarm-list" without a problem.

Story: 2006729
Task: 42256

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I2d0f4c2c85ea8057258d56632a102b2eac7db388
(cherry picked from commit b91aaaab9092acc97166d2cccdb11c5d1b2569b9)
2021-08-16 13:10:27 +00:00
2021-08-04 11:23:18 -04:00
2019-04-19 19:52:34 +00:00
2021-06-09 08:48:11 -05:00
2018-05-31 07:36:00 -07:00

fault

StarlingX Fault Management

Description
StarlingX Fault Management
Readme 5.7 MiB
Languages
Python 60.7%
C++ 31.8%
Shell 3.2%
C 3.1%
Makefile 1.1%