From 13dbe7435f21b11c69b39bab794dd72bc3a5f47b Mon Sep 17 00:00:00 2001 From: LiZekun <2954674728@qq.com> Date: Tue, 11 Jan 2022 21:51:28 +0800 Subject: [PATCH] remove unicode from code Change-Id: If002d845347b2e215d36df3ff73b743745e46131 --- 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 d29788c51..9e235814a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -70,8 +70,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'kayobe' -copyright = u'2013, OpenStack Foundation' +project = 'kayobe' +copyright = '2013, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -108,8 +108,8 @@ htmlhelp_basename = '%sdoc' % project latex_documents = [ ('index', 'doc-%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), + '%s Documentation' % project, + 'OpenStack Foundation', 'manual'), ] # Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 27caae7a9..7a62178a3 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -45,8 +45,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Kayobe Release Notes' -copyright = u'2018, The Kayobe team' +project = 'Kayobe Release Notes' +copyright = '2018, The Kayobe team' # Release notes do not need a version number in the title, they # cover multiple releases. @@ -181,8 +181,8 @@ htmlhelp_basename = 'KayobeReleaseNotesdoc' # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'KayobeReleaseNotes.tex', - u'Kayobe Release Notes Documentation', - u'Kayobe Developers', 'manual'), + 'Kayobe Release Notes Documentation', + 'Kayobe Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -212,8 +212,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'kayobereleasenotes', - u'Kayobe Release Notes Documentation', - [u'Kayobe Developers'], 1) + 'Kayobe Release Notes Documentation', + ['Kayobe Developers'], 1) ] # If true, show URL addresses after external links. @@ -227,8 +227,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'KayobeReleaseNotes', - u'Kayobe Release Notes Documentation', - u'Kayobe Developers', + 'Kayobe Release Notes Documentation', + 'Kayobe Developers', 'kayobereleasenotes', 'Deployment of containerised OpenStack to bare metal.', 'Miscellaneous'),