Change I89bd58d79e5cd74cf283d026ada486b7f7122980 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: Ie2db587c3bc379acd53cfd449788d171ae58dec5
Closes-Bug: 1883654
(cherry picked from commit 12d252db9cb9deffea3c87b86ea71b3013d93892)
Reviewed: https:/ /review. opendev. org/736395 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=750999db0de 0fcfc923cd453ad d808ca42a4e2b4
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 750999db0de0fcf c923cd453add808 ca42a4e2b4
Author: hamalq <email address hidden>
Date: Tue Jun 16 17:59:07 2020 +0000
Fix "Remove VxFlex OS credentials" regression
Change I89bd58d79e5cd7 4cf283d026ada48 6b7f7122980 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 fea3c87b86ea71b 3013d93892)
Closes-Bug: 1883654
(cherry picked from commit 12d252db9cb9def