Normalize the options use singele quotes

Some config options in codes use double quotes
but most of the options use single quotes and
that need to be normalized

DocImpact
Closes-Bug: #1584558

Change-Id: I828326d9bb22b6cb98885255ebc0dfcc1efc0497
This commit is contained in:
liangjingtao 2016-05-23 11:29:41 +08:00
parent e137c39cd4
commit 208c96ab14
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ from glance.i18n import _
store_type_opts = [
cfg.ListOpt("store_type_preference",
cfg.ListOpt('store_type_preference',
default=[],
help=_("The store names to use to get store preference order. "
"The name must be registered by one of the stores "

View File

@ -113,11 +113,11 @@ wsgi_opts = [
]
profiler_opts = [
cfg.BoolOpt("enabled", default=False,
cfg.BoolOpt('enabled', default=False,
help=_('If False fully disable profiling feature.')),
cfg.BoolOpt("trace_sqlalchemy", default=False,
cfg.BoolOpt('trace_sqlalchemy', default=False,
help=_("If False doesn't trace SQL requests.")),
cfg.StrOpt("hmac_keys", default="SECRET_KEY",
cfg.StrOpt('hmac_keys', default="SECRET_KEY",
help=_("Secret key to use to sign Glance API and Glance "
"Registry services tracing messages.")),
]