Remove unicode literal from code

All strings are considered as unicode literal string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I71621b95c87e7c10e86d8341173967235912053d
This commit is contained in:
LiZekun 2022-06-06 19:36:41 +08:00
parent 074c464f3d
commit 8ad510e60b
2 changed files with 10 additions and 10 deletions

View File

@ -36,7 +36,7 @@ source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
# General information about the project. # General information about the project.
copyright = u'2017, OpenStack Developers' copyright = '2017, OpenStack Developers'
# openstackdocstheme options # openstackdocstheme options
openstackdocs_repo_name = 'openstack/neutron-tempest-plugin' openstackdocs_repo_name = 'openstack/neutron-tempest-plugin'
@ -71,8 +71,8 @@ htmlhelp_basename = 'openstackdoc'
latex_documents = [ latex_documents = [
('index', ('index',
'openstack.tex', 'openstack.tex',
u'openstack Documentation', 'openstack Documentation',
u'OpenStack Developers', 'manual'), 'OpenStack Developers', 'manual'),
] ]
# Example configuration for intersphinx: refer to the Python standard library. # Example configuration for intersphinx: refer to the Python standard library.

View File

@ -52,7 +52,7 @@ source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
# General information about the project. # General information about the project.
copyright = u'2017, Neutron Tempest Plugin Developers' copyright = '2017, Neutron Tempest Plugin Developers'
# openstackdocstheme options # openstackdocstheme options
openstackdocs_repo_name = 'openstack/neutron-tempest-plugin' openstackdocs_repo_name = 'openstack/neutron-tempest-plugin'
@ -190,8 +190,8 @@ htmlhelp_basename = 'NeutronTempestPluginReleaseNotesdoc'
# author, documentclass [howto, manual, or own class]). # author, documentclass [howto, manual, or own class]).
latex_documents = [ latex_documents = [
('index', 'NeutronTempestPluginReleaseNotes.tex', ('index', 'NeutronTempestPluginReleaseNotes.tex',
u'Neutron Tempest Plugin Release Notes Documentation', 'Neutron Tempest Plugin Release Notes Documentation',
u'Neutron Tempest Plugin Developers', 'manual'), 'Neutron Tempest Plugin Developers', '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
@ -221,8 +221,8 @@ latex_documents = [
# (source start file, name, description, authors, manual section). # (source start file, name, description, authors, manual section).
man_pages = [ man_pages = [
('index', 'NeutronTempestPluginrereleasenotes', ('index', 'NeutronTempestPluginrereleasenotes',
u'Neutron Tempest Plugin Release Notes Documentation', 'Neutron Tempest Plugin Release Notes Documentation',
[u'Neutron Tempest Plugin Developers'], 1) ['Neutron Tempest Plugin Developers'], 1)
] ]
# If true, show URL addresses after external links. # If true, show URL addresses after external links.
@ -236,8 +236,8 @@ man_pages = [
# dir menu entry, description, category) # dir menu entry, description, category)
texinfo_documents = [ texinfo_documents = [
('index', 'Neutron Tempest Plugin ReleaseNotes', ('index', 'Neutron Tempest Plugin ReleaseNotes',
u'Neutron Tempest Plugin Release Notes Documentation', 'Neutron Tempest Plugin Release Notes Documentation',
u'Neutron Tempest Plugin Developers', 'Neutron Tempest Plugin Developers',
'NeutronTempestPluginReleaseNotes', 'NeutronTempestPluginReleaseNotes',
'One line description of project.', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),