Change Ia1d2b2151e5676037d40bfaf388b54023fc37093 uses a ConfigParser
instance in a way that is incompatible with python 2.7, resulting in
a "ConfigParser instance has no attribute '__getitem__'" error. This
patch accesses the ConfigParser using the "old" API that works in both
Python 2.7 and Python 3 and adds some tests.
Co-authored-by: Brian Rosmaita <email address hidden>
Reviewed: https:/ /review. opendev. org/735989 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=12d252db9cb 9deffea3c87b86e a71b3013d93892
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 12d252db9cb9def fea3c87b86ea71b 3013d93892
Author: hamalq <email address hidden>
Date: Tue Jun 16 17:59:07 2020 +0000
Fix "Remove VxFlex OS credentials" regression
Change Ia1d2b2151e5676 037d40bfaf388b5 4023fc37093 uses a ConfigParser
instance in a way that is incompatible with python 2.7, resulting in
a "ConfigParser instance has no attribute '__getitem__'" error. This
patch accesses the ConfigParser using the "old" API that works in both
Python 2.7 and Python 3 and adds some tests.
Co-authored-by: Brian Rosmaita <email address hidden>
Change-Id: Ie2db587c3bc379 acd53cfd449788d 171ae58dec5
Closes-Bug: 1883654