fault/fm-rest-api
Charles Short b91aaaab90 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
2021-04-15 10:38:24 -04:00
..
centos Merge branch 'master' into f/centos8 2020-12-02 13:12:37 +08:00
debian Use StarlingX mail list as Package Maintainer for Debian 2019-06-12 12:06:38 -05:00
fm python3: Fix python3 compatibility issues 2021-04-15 10:38:24 -04:00
opensuse Add missing Requires to fault components for opensuse 2019-10-08 18:24:30 -05:00
PKG-INFO Update the License in FM packages 2018-09-05 14:54:00 -04:00