fault/python-fmclient/fmclient/fmclient
Charles Short 5d2dfab5f9 python3: Fix compatibility issues
- use absolute path imports to compat python3
- Replace dict.keys() with list(dict.keys()) to get a list on Python
  3. On Python 3, dict.keys() now returns a view.
- Fix iteritems to use items for python3.

Testing:
1. Built packaging with new python3 packaging.
2. Built resulting ISO with new python-fmclient package.
3. Ran "fm" under python3. Verifified that no tracebacks
   happened because it could not find common_wrappers.py.
4. Ran fm alarm-list to verify that output was displayed.
5. Ran fm event-list to display the events.
6. Ran fm alarm-show to show an active alarm.

Story: 2006796
Task: 42257

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I5081d0685c7ad200076a76b7709cbe4f39c7b456
2021-04-15 12:44:53 -04:00
..
common python3: Fix compatibility issues 2021-04-15 12:44:53 -04:00
v1 Use newer flake8 on python3.8 zuul systems 2020-11-16 13:35:31 -06:00
__init__.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
client.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
exc.py Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00
shell.py Use newer flake8 on python3.8 zuul systems 2020-11-16 13:35:31 -06:00