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/368617 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=1f690df60c0 ce7b627c4ebceae caa5370ff10042
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1f690df60c0ce7b 627c4ebceaecaa5 370ff10042
Author: Luong Anh Tuan <email address hidden>
Date: Mon Sep 12 15:01:29 2016 +0700
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: I7e399b3cb90ded 909e0d777a4d10c 44f1e9299da
Closes-Bug: #1618666