remove unicode from code

In Python 3, all strings are represented in Unicode.In Python 2 are
stored internally as 8-bit ASCII, hence it is required to attach 'u'
to make it Unicode. It is no longer necessary now.

Change-Id: I3f2204d96ac3834ec652b95fd4ad47e4f5dcc7f2
This commit is contained in:
wu.shiming 2021-03-01 17:09:06 +08:00 committed by Pierre Riteau
parent d952210ecd
commit fb0477e488
2 changed files with 12 additions and 12 deletions

View File

@ -37,8 +37,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'blazar-tempest-plugin'
copyright = u'2017, OpenStack Developers'
project = 'blazar-tempest-plugin'
copyright = '2017, OpenStack Developers'
# openstackdocstheme options
openstackdocs_repo_name = 'openstack/blazar-tempest-plugin'
@ -76,8 +76,8 @@ htmlhelp_basename = '%sdoc' % project
latex_documents = [
('index',
'doc-%s.tex' % project,
u'%s Documentation' % project,
u'OpenStack Developers', 'manual'),
'%s Documentation' % project,
'OpenStack Developers', 'manual'),
]
# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664

View File

@ -52,8 +52,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'blazar-tempest-plugin Release Notes'
copyright = u'2017, OpenStack Developers'
project = 'blazar-tempest-plugin Release Notes'
copyright = '2017, OpenStack Developers'
# openstackdocstheme options
openstackdocs_repo_name = 'openstack/blazar-tempest-plugin'
@ -213,8 +213,8 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'blazar-tempest-pluginReleaseNotes.tex',
u'blazar-tempest-plugin Release Notes Documentation',
u'OpenStack Foundation', 'manual'),
'blazar-tempest-plugin Release Notes Documentation',
'OpenStack Foundation', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -244,8 +244,8 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'blazar-tempest-pluginrereleasenotes',
u'blazar-tempest-plugin Release Notes Documentation',
[u'OpenStack Foundation'], 1)
'blazar-tempest-plugin Release Notes Documentation',
['OpenStack Foundation'], 1)
]
# If true, show URL addresses after external links.
@ -259,8 +259,8 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
('index', 'blazar-tempest-plugin ReleaseNotes',
u'blazar-tempest-plugin Release Notes Documentation',
u'OpenStack Foundation', 'blazar-tempest-pluginReleaseNotes',
'blazar-tempest-plugin Release Notes Documentation',
'OpenStack Foundation', 'blazar-tempest-pluginReleaseNotes',
'One line description of project.',
'Miscellaneous'),
]