From 1dcc747401419d57f923d31515545a8b24d6a6a5 Mon Sep 17 00:00:00 2001 From: "Kevin L. Mitchell" Date: Mon, 15 Jul 2013 16:43:41 -0500 Subject: Fix stylistic problems with help text The help text for the backdoor_port configuration option was a little groddy. This reformats it to clean it up a little. Some punctuation is also added to clarify the meaning of the text. Change-Id: Ie61be9f0d08cd9c2485177b207216b3b775acd04 --- openstack/common/eventlet_backdoor.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'openstack') diff --git a/openstack/common/eventlet_backdoor.py b/openstack/common/eventlet_backdoor.py index 9d3227c..1433148 100644 --- a/openstack/common/eventlet_backdoor.py +++ b/openstack/common/eventlet_backdoor.py @@ -34,17 +34,17 @@ from oslo.config import cfg from openstack.common.gettextutils import _ # noqa from openstack.common import log as logging -help_for_backdoor_port = 'Acceptable ' + \ - 'values are 0, and :, where 0 results in ' + \ - 'listening on a random tcp port number, results in ' + \ - 'listening on the specified port number and not enabling backdoor' + \ - 'if it is in use and : results in listening on the ' + \ - 'smallest unused port number within the specified range of port ' + \ - 'numbers. The chosen port is displayed in the service\'s log file.' +help_for_backdoor_port = ( + "Acceptable values are 0, , and :, where 0 results " + "in listening on a random tcp port number; results in listening " + "on the specified port number (and not enabling backdoor if that port " + "is in use); and : results in listening on the smallest " + "unused port number within the specified range of port numbers. The " + "chosen port is displayed in the service's log file.") eventlet_backdoor_opts = [ cfg.StrOpt('backdoor_port', default=None, - help='Enable eventlet backdoor. %s' % help_for_backdoor_port) + help="Enable eventlet backdoor. %s" % help_for_backdoor_port) ] CONF = cfg.CONF -- cgit