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/368404 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=bdfa3c9400a fa67053cb20490b ce73cdb828b063
Committed: https:/
Submitter: Jenkins
Branch: master
commit bdfa3c9400afa67 053cb20490bce73 cdb828b063
Author: lilintan <email address hidden>
Date: Sun Sep 11 16:25:15 2016 +0800
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.
Closes-Bug: #1618666 c83c7eb541de038 9c6e4dcf654
Change-Id: Ie5d38b86bb2ba3