diff options
author | Jenkins <jenkins@review.openstack.org> | 2012-05-31 22:31:47 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2012-05-31 22:31:47 +0000 |
commit | 0dd15a784482f92ad5aca631c1dc26012b62e3eb (patch) | |
tree | a6ad2fdb6d9c669441583af4bcaa46fbfeb2c77f /tools | |
parent | 79cb3bf9d9559cba5c59ea47f30147bfe89faecb (diff) | |
parent | d5f888fc7ad8b83b8af25c96c0211b0d70405c89 (diff) | |
download | nova-0dd15a784482f92ad5aca631c1dc26012b62e3eb.tar.gz nova-0dd15a784482f92ad5aca631c1dc26012b62e3eb.tar.xz nova-0dd15a784482f92ad5aca631c1dc26012b62e3eb.zip |
Merge "Removing double quotes from sample config file"
Diffstat (limited to 'tools')
-rw-r--r-- | tools/conf/extract_opts.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/conf/extract_opts.py b/tools/conf/extract_opts.py index 256ca7f5f..44ae2b000 100644 --- a/tools/conf/extract_opts.py +++ b/tools/conf/extract_opts.py @@ -128,7 +128,7 @@ def _print_opt(opt): print '# %s=<None>' % opt_name elif opt_type == STROPT: assert(isinstance(opt_default, basestring)) - print '# %s="%s"' % (opt_name, _convert_abspath(opt_default)) + print '# %s=%s' % (opt_name, _convert_abspath(opt_default)) elif opt_type == BOOLOPT: assert(isinstance(opt_default, bool)) print '# %s=%s' % (opt_name, str(opt_default).lower()) @@ -141,11 +141,11 @@ def _print_opt(opt): print '# %s=%s' % (opt_name, opt_default) elif opt_type == LISTOPT: assert(isinstance(opt_default, list)) - print '# %s="%s"' % (opt_name, ','.join(opt_default)) + print '# %s=%s' % (opt_name, ','.join(opt_default)) elif opt_type == MULTISTROPT: assert(isinstance(opt_default, list)) for default in opt_default: - print '# %s="%s"' % (opt_name, default) + print '# %s=%s' % (opt_name, default) except Exception: sys.stderr.write('Error in option "%s"\n' % opt_name) sys.exit(1) |