From 4d894800470096b9d5cb7a30e908205790ca81fe Mon Sep 17 00:00:00 2001 From: wangjiaqi07 Date: Fri, 19 Aug 2022 14:24:54 +0800 Subject: [PATCH] remove unicode from code Change-Id: I7451a1a680bf3b60472702f1c6da8890f916ab16 --- 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 59cdfac2..a4501250 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -160,7 +160,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2016, OpenStack Foundation' +copyright = '2016, OpenStack Foundation' # A list of ignored prefixes for module index sorting. @@ -198,8 +198,8 @@ latex_use_xindy = False latex_documents = [ ('index', 'doc-ironic-ui.tex', - u'Ironic UI Documentation', - u'OpenStack Foundation', 'manual'), + 'Ironic UI Documentation', + 'OpenStack Foundation', 'manual'), ] # Example configuration for intersphinx: refer to the Python standard library. diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 9c03ee4c..8c881e4c 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -62,9 +62,9 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'ironic-ui' -copyright = u'2016, OpenStack' -author = u'OpenStack' +project = 'ironic-ui' +copyright = '2016, OpenStack' +author = 'OpenStack' # Release notes are version independent # The short X.Y version. @@ -269,8 +269,8 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'ironic-ui.tex', u'ironic-ui Documentation', - u'OpenStack', 'manual'), + (master_doc, 'ironic-ui.tex', 'ironic-ui Documentation', + 'OpenStack', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -311,7 +311,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'ironic-ui', u'ironic-ui Documentation', + (master_doc, 'ironic-ui', 'ironic-ui Documentation', [author], 1) ] @@ -326,7 +326,7 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (master_doc, 'ironic-ui', u'ironic-ui Documentation', + (master_doc, 'ironic-ui', 'ironic-ui Documentation', author, 'ironic-ui', 'One line description of project.', 'Miscellaneous'), ]