summaryrefslogtreecommitdiff
path: root/oslo_config/generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_config/generator.py')
-rw-r--r--oslo_config/generator.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/oslo_config/generator.py b/oslo_config/generator.py
index 9fdde09..9845c81 100644
--- a/oslo_config/generator.py
+++ b/oslo_config/generator.py
@@ -288,11 +288,9 @@ class _OptFormatter:
else:
opt_help = opt.help
- help_text = u'%s%s (%s)' % (opt_prefix,
- opt_help,
- opt_type)
+ help_text = '%s%s (%s)' % (opt_prefix, opt_help, opt_type)
else:
- help_text = u'(%s)' % opt_type
+ help_text = '(%s)' % opt_type
lines = self._format_help(help_text)
if getattr(opt.type, 'min', None) is not None: