From 2f43f651e8a4be8cef838b463e5ec6ab821f2b43 Mon Sep 17 00:00:00 2001 From: shanyunfan33 Date: Wed, 26 Jan 2022 17:29:08 +0800 Subject: [PATCH] remove unicode from code remove unicode from code Change-Id: I4a5ecfccac4047803b069034575bda8e3baae985 --- doc/source/conf.py | 8 ++++---- releasenotes/source/conf.py | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 088b5b9..1c26c17 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -35,8 +35,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'mistral-lib' -copyright = u'2017, Mistral Contributors' +project = 'mistral-lib' +copyright = '2017, Mistral Contributors' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -64,8 +64,8 @@ htmlhelp_basename = '%sdoc' % project latex_documents = [ ('index', '%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), + '%s Documentation' % project, + '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 ee8efe0..080e340 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -54,8 +54,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'mistral-lib Release Notes' -copyright = u'2016, OpenStack Foundation' +project = 'mistral-lib Release Notes' +copyright = '2016, OpenStack Foundation' # Release notes are version independent @@ -200,8 +200,8 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'MistralLibReleaseNotes.tex', - u'Mistral Library Release Notes Documentation', u'Mistral ' - u'Library Developers', 'manual'), + 'Mistral Library Release Notes Documentation', 'Mistral ' + 'Library Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -230,8 +230,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'mistrallibreleasenotes', u'Mistral Library Release Notes ' - u'Documentation', [u'Mistral Library Developers'], 1) + ('index', 'mistrallibreleasenotes', 'Mistral Library Release Notes ' + 'Documentation', ['Mistral Library Developers'], 1) ] # If true, show URL addresses after external links. @@ -244,8 +244,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'MistralLibReleaseNotes', u'Mistral Library Release Notes ' - u'Documentation', u'Mistral Library Developers', + ('index', 'MistralLibReleaseNotes', 'Mistral Library Release Notes ' + 'Documentation', 'Mistral Library Developers', 'MistralLibReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]