Remove Python 2 support

Python 2 has been deprecated. This patch removes all
traces of six, unicode strings and Python 2 tweaks.

Change-Id: I74696d02558e0fa93ea1775057db13b4f72aed02
This commit is contained in:
anguoming 2022-06-07 13:38:17 +08:00 committed by Brin Zhang
parent 7b2af8856f
commit 884ed5038b
1 changed files with 8 additions and 8 deletions

View File

@ -60,8 +60,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Sahara Client'
copyright = u'2013, OpenStack Foundation'
project = 'Sahara Client'
copyright = '2013, OpenStack Foundation'
# The language for content autogenerated by Sphinx. Refer to documentation
@ -199,8 +199,8 @@ latex_elements = {
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'saharaclientdoc.tex', u'Sahara Client',
u'OpenStack Foundation', 'manual'),
('index', 'saharaclientdoc.tex', 'Sahara Client',
'OpenStack Foundation', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -229,8 +229,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'saharaclient', u'Sahara Client',
[u'OpenStack Foundation'], 1)
('index', 'saharaclient', 'Sahara Client',
['OpenStack Foundation'], 1)
]
# If true, show URL addresses after external links.
@ -243,8 +243,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Sahara Client', u'Sahara Client',
u'OpenStack Foundation', 'Sahara Client', 'Sahara Client',
('index', 'Sahara Client', 'Sahara Client',
'OpenStack Foundation', 'Sahara Client', 'Sahara Client',
'Miscellaneous'),
]