From a93eb59a416d54dc08c25d6d413f6d6ed81794d6 Mon Sep 17 00:00:00 2001 From: Anish Bhatt Date: Tue, 17 Feb 2015 16:10:49 -0800 Subject: [PATCH] Fix extraneous comma that breaks docbook generation There is a stray comma in the middle of the help section that changes the string to a tuple, causing docbook to fail with: td.text = "(%s) %s" % (type(option).__name__, option.help.strip()) AttributeError: 'tuple' object has no attribute 'strip' Change-Id: I8f03801fe5463548e3bba1b13e0370fd30ac9927 --- cinder/volume/drivers/remotefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/remotefs.py b/cinder/volume/drivers/remotefs.py index d8ff5207e..334f5a2e1 100644 --- a/cinder/volume/drivers/remotefs.py +++ b/cinder/volume/drivers/remotefs.py @@ -74,7 +74,7 @@ nas_opts = [ 'otherwise False. Default is auto.')), cfg.StrOpt('nas_share_path', default='', - help=('Path to the share to use for storing Cinder volumes. ', + help=('Path to the share to use for storing Cinder volumes. ' 'For example: "/srv/export1" for an NFS server export ' 'available at 10.0.5.10:/srv/export1 .')), cfg.StrOpt('nas_mount_options', -- 2.45.2