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

View File

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