nfv/nfv/nfv-common/nfv_common
Al Bailey 34c5178c11 Replace SafeConfigParser with ConfigParser
'SafeConfigParser' is a deprecated class.  Replace the
reference to it with its non-deprecated counterpart
called 'ConfigParser'

This change only affects how the debug.ini file is loaded,
which is a file used for setting log levels within NFV.

The change is not meant to affect any runtime behaviour.
The intention of this code change is for this to behave
the same as using SafeConfigParser.

pylint was reporting this as a deprecated class (W4904)

Test Plan:
  PASS: added a new unit test to verify coverage
  PASS: build ISO and unlock AIO-SX and verify vim working
   and startup logs appear unchanged

Story: 2010531
Task: 47215

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Id0c22f9847489b171c28c11f8d8215902d444241
2023-01-25 21:02:55 +00:00
..
alarm Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
catalog Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
debug Replace SafeConfigParser with ConfigParser 2023-01-25 21:02:55 +00:00
event_log Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
forensic Cleanup pylint.rc file 2023-01-25 20:12:02 +00:00
schedule Debian: Fix sw-manager commands 2022-05-20 19:13:32 +00:00
selobj Update nfv code to work properly on python3.7+ 2022-03-04 21:21:48 +00:00
state_machine Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
strategy py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
tasks Update nfv code to work properly on python3.7+ 2022-03-04 21:21:48 +00:00
tcp Debian: Fix VIM API calls 2022-05-02 18:00:46 +00:00
thread py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
timers Update nfv code to work properly on python3.7+ 2022-03-04 21:21:48 +00:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
exceptions.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
helpers.py Fix SSL cert error in nfv-vim for rehomed subcloud 2022-12-16 18:02:55 -05:00
histogram.py Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00
profiler.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
selectable.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
validate.py Re-enable important py3k checks for nfv 2021-10-28 14:11:13 -03:00