From 04826f09e4c622ccc8aefe8b3d61b86a851e0916 Mon Sep 17 00:00:00 2001 From: wangjiaqi07 Date: Thu, 25 Aug 2022 10:38:32 +0800 Subject: [PATCH] remove unicode from code Change-Id: Iaf64cc387f901408c6deb50053b3ab984844432b --- doc/source/conf.py | 6 +++--- releasenotes/source/conf.py | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 59e5fd9..1b679dc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -34,7 +34,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'OpenStack Foundation' +copyright = 'OpenStack Foundation' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['ironic_inspector_client'] @@ -70,8 +70,8 @@ latex_documents = [ ( 'index', 'doc-python-ironic-inspector-client.tex', - u'Python Ironic Inspector Client Documentation', - u'OpenStack Foundation', + 'Python Ironic Inspector Client Documentation', + 'OpenStack Foundation', 'manual' ), ] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 19fced6..9436af1 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -59,7 +59,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2015, Ironic Inspector Developers' +copyright = '2015, Ironic Inspector Developers' # Release notes are version independent. # The full version, including alpha/beta/rc tags. @@ -200,8 +200,8 @@ htmlhelp_basename = 'IronicInspectorClientReleaseNotesdoc' # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'IronicInspectorClientReleaseNotes.tex', - u'Ironic Inspector Client Release Notes Documentation', - u'Ironic Inspector Developers', 'manual'), + 'Ironic Inspector Client Release Notes Documentation', + 'Ironic Inspector Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -231,8 +231,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'ironicinspectorclientreleasenotes', - u'Ironic Inspector Client Release Notes Documentation', - [u'Ironic Inspector Developers'], 1) + 'Ironic Inspector Client Release Notes Documentation', + ['Ironic Inspector Developers'], 1) ] # If true, show URL addresses after external links. @@ -246,8 +246,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'IronicInspectorClientReleaseNotes', - u'Ironic Inspector Client Release Notes Documentation', - u'Ironic Inspector Developers', 'IronicInspectorClientReleaseNotes', + 'Ironic Inspector Client Release Notes Documentation', + 'Ironic Inspector Developers', 'IronicInspectorClientReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]