]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix extraneous comma that breaks docbook generation
authorAnish Bhatt <anish@chelsio.com>
Wed, 18 Feb 2015 00:10:49 +0000 (16:10 -0800)
committerAnish Bhatt <anish@chelsio.com>
Wed, 18 Feb 2015 00:12:16 +0000 (16:12 -0800)
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

index d8ff5207eb0ded723c02cd9164ec842e716fea4a..334f5a2e1ec81066321c01d48c0df1715792bbec 100644 (file)
@@ -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',