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' master_doc = 'index'
# General information about the project. # General information about the project.
project = u'blazar-tempest-plugin' project = 'blazar-tempest-plugin'
copyright = u'2017, OpenStack Developers' copyright = '2017, OpenStack Developers'
# openstackdocstheme options # openstackdocstheme options
openstackdocs_repo_name = 'openstack/blazar-tempest-plugin' openstackdocs_repo_name = 'openstack/blazar-tempest-plugin'
@ -76,8 +76,8 @@ htmlhelp_basename = '%sdoc' % project
latex_documents = [ latex_documents = [
('index', ('index',
'doc-%s.tex' % project, 'doc-%s.tex' % project,
u'%s Documentation' % project, '%s Documentation' % project,
u'OpenStack Developers', 'manual'), 'OpenStack Developers', 'manual'),
] ]
# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664 # 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' master_doc = 'index'
# General information about the project. # General information about the project.
project = u'blazar-tempest-plugin Release Notes' project = 'blazar-tempest-plugin Release Notes'
copyright = u'2017, OpenStack Developers' copyright = '2017, OpenStack Developers'
# openstackdocstheme options # openstackdocstheme options
openstackdocs_repo_name = 'openstack/blazar-tempest-plugin' openstackdocs_repo_name = 'openstack/blazar-tempest-plugin'
@ -213,8 +213,8 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]). # author, documentclass [howto, manual, or own class]).
latex_documents = [ latex_documents = [
('index', 'blazar-tempest-pluginReleaseNotes.tex', ('index', 'blazar-tempest-pluginReleaseNotes.tex',
u'blazar-tempest-plugin Release Notes Documentation', 'blazar-tempest-plugin Release Notes Documentation',
u'OpenStack Foundation', 'manual'), 'OpenStack Foundation', 'manual'),
] ]
# The name of an image file (relative to this directory) to place at the top of # 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). # (source start file, name, description, authors, manual section).
man_pages = [ man_pages = [
('index', 'blazar-tempest-pluginrereleasenotes', ('index', 'blazar-tempest-pluginrereleasenotes',
u'blazar-tempest-plugin Release Notes Documentation', 'blazar-tempest-plugin Release Notes Documentation',
[u'OpenStack Foundation'], 1) ['OpenStack Foundation'], 1)
] ]
# If true, show URL addresses after external links. # If true, show URL addresses after external links.
@ -259,8 +259,8 @@ man_pages = [
# dir menu entry, description, category) # dir menu entry, description, category)
texinfo_documents = [ texinfo_documents = [
('index', 'blazar-tempest-plugin ReleaseNotes', ('index', 'blazar-tempest-plugin ReleaseNotes',
u'blazar-tempest-plugin Release Notes Documentation', 'blazar-tempest-plugin Release Notes Documentation',
u'OpenStack Foundation', 'blazar-tempest-pluginReleaseNotes', 'OpenStack Foundation', 'blazar-tempest-pluginReleaseNotes',
'One line description of project.', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]