summaryrefslogtreecommitdiff
path: root/glance_store/_drivers/filesystem.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2018-07-16 16:55:55 -0500
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2018-07-19 13:53:32 +0000
commit1bbe9b3f8ae1f56c283d87e50c11f059be6a43e6 (patch)
treed0c69f25e8f113f62a6f981cb8f8eb3c6b1bb874 /glance_store/_drivers/filesystem.py
parent65959d63937805afadc385091a3100c53172b57c (diff)
downloadglance_store-1bbe9b3f8ae1f56c283d87e50c11f059be6a43e6.tar.gz
Remove config option help translation
Config option help is used to generate sample config files. This is done statically and only in English. Translation is done dynamically at runtime by loading the translation catalogs. So putting the _() translation around config option help creates unnecessary work for the translators as this will never be loaded and translated. This removes translation markers from config option definitions. Change-Id: I0597a5b69ef4e179324885cb35bbb72fceb2b830
Diffstat (limited to 'glance_store/_drivers/filesystem.py')
-rw-r--r--glance_store/_drivers/filesystem.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/glance_store/_drivers/filesystem.py b/glance_store/_drivers/filesystem.py
index b32b897..97eecad 100644
--- a/glance_store/_drivers/filesystem.py
+++ b/glance_store/_drivers/filesystem.py
@@ -46,7 +46,7 @@ LOG = logging.getLogger(__name__)
_FILESYSTEM_CONFIGS = [
cfg.StrOpt('filesystem_store_datadir',
default='/var/lib/glance/images',
- help=_("""
+ help="""
Directory to which the filesystem backend store writes images.
Upon start up, Glance creates the directory if it doesn't already
@@ -69,9 +69,9 @@ Related options:
* ``filesystem_store_datadirs``
* ``filesystem_store_file_perm``
-""")),
+"""),
cfg.MultiStrOpt('filesystem_store_datadirs',
- help=_("""
+ help="""
List of directories and their priorities to which the filesystem
backend store writes images.
@@ -105,9 +105,9 @@ Related options:
* ``filesystem_store_datadir``
* ``filesystem_store_file_perm``
-""")),
+"""),
cfg.StrOpt('filesystem_store_metadata_file',
- help=_("""
+ help="""
Filesystem store metadata file.
The path to a file which contains the metadata to be returned with
@@ -122,10 +122,10 @@ Possible values:
Related options:
* None
-""")),
+"""),
cfg.IntOpt('filesystem_store_file_perm',
default=0,
- help=_("""
+ help="""
File access permissions for the image files.
Set the intended file access permissions for image data. This provides
@@ -148,7 +148,7 @@ Possible values:
Related options:
* None
-"""))]
+""")]
MULTI_FILESYSTEM_METADATA_SCHEMA = {
"type": "array",