summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-02-10 17:14:52 +0000
committerMark McLoughlin <markmc@redhat.com>2012-02-10 17:17:07 +0000
commit8723af7665d004ae088d5066b795877c7d8f890f (patch)
tree1d2b183632035d0d0cbc53b979f327492d81a030 /openstack
parent6f08fb4edabd0be6a61fca91b3cee15433bc110f (diff)
downloadoslo-8723af7665d004ae088d5066b795877c7d8f890f.tar.gz
oslo-8723af7665d004ae088d5066b795877c7d8f890f.tar.xz
oslo-8723af7665d004ae088d5066b795877c7d8f890f.zip
Disable ConfigParser interpolation (lp#930270)
This breaks e.g. volume_name_template=volume-%08x instance_name_template=instance-%08x and is not part of the API contract anyway. We use $opt based value interpolation. Change-Id: I7ba566ae7c9a77322b52c67c5e1ffbffb760f0fc
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/cfg.py b/openstack/common/cfg.py
index 2562af4..23b6773 100644
--- a/openstack/common/cfg.py
+++ b/openstack/common/cfg.py
@@ -435,7 +435,7 @@ class Opt(object):
:param cparser: a ConfigParser object
:param section: a section name
"""
- return cparser.get(section, self.dest)
+ return cparser.get(section, self.dest, raw=True)
def _add_to_cli(self, parser, group=None):
"""Makes the option available in the command line interface.