SafeConfigParser supports interpolation on top of ConfigParser in Python 2,
and SafeConfigParser is deprecated in Python 3.2 and log warning
like " DeprecationWarning: The SafeConfigParser class has been renamed to
ConfigParser in Python 3.2. This alias will be removed in future versions.
Use ConfigParser directly instead."
So we can use ConfigParser if we don't need interpolation.
Reviewed: https:/ /review. openstack. org/370542 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=8254a3f54d7 57927d159b3edc4 f4f982bd8d6138
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8254a3f54d75792 7d159b3edc4f4f9 82bd8d6138
Author: Janonymous <email address hidden>
Date: Thu Sep 15 10:38:48 2016 +0530
Use ConfigParser instead of SafeConfigParser
SafeConfigP arser supports interpolation on top of ConfigParser in Python 2,
and SafeConfigParser is deprecated in Python 3.2 and log warning
like " DeprecationWarning: The SafeConfigParser class has been renamed to
ConfigParser in Python 3.2. This alias will be removed in future versions.
Use ConfigParser directly instead."
So we can use ConfigParser if we don't need interpolation.
Change-Id: If210bd1322df96 c0c8aea1f257148 dc46affb422
Closes-Bug: #1618666