From a091b0cdd14a6b0087633d46e40e7e9ce4c1af1e Mon Sep 17 00:00:00 2001 From: zhangboye Date: Sun, 3 Jan 2021 16:18:52 +0800 Subject: [PATCH] remove unicode from code Change-Id: I1e8e961ef288484505ec16b174f1359fb36fab4b --- doc/source/conf.py | 6 +++--- releasenotes/source/conf.py | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 474a4c1..677d5e0 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -38,7 +38,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2020, OpenStack Foundation' +copyright = '2020, OpenStack Foundation' # openstackdocstheme options openstackdocs_repo_name = 'openstack/sushy-cli' @@ -74,6 +74,6 @@ latex_use_xindy = False latex_documents = [ ('index', 'doc-sushycli.tex', - u'Sushy CLI Documentation', - u'OpenStack Foundation', 'manual'), + 'Sushy CLI Documentation', + 'OpenStack Foundation', 'manual'), ] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index ab08e85..b24144b 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -55,8 +55,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'sushy-cli Release Notes' -copyright = u'2020, OpenStack Foundation' +project = 'sushy-cli Release Notes' +copyright = '2020, OpenStack Foundation' # openstackdocstheme options openstackdocs_repo_name = 'openstack/sushy-cli' @@ -215,8 +215,8 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'SushyCliReleaseNotes.tex', - u'Sushy CLI Release Notes Documentation', - u'Ironic Developers', 'manual'), + 'Sushy CLI Release Notes Documentation', + 'Ironic Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -246,8 +246,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'sushyclireleasenotes', - u'Sushy CLI Release Notes Documentation', - [u'Ironic Developers'], 1) + 'Sushy CLI Release Notes Documentation', + ['Ironic Developers'], 1) ] # If true, show URL addresses after external links. @@ -261,8 +261,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'SushyCliReleaseNotes', - u'Sushy CLI Release Notes Documentation', - u'Ironic Developers', 'SushyCliReleaseNotes', + 'Sushy CLI Release Notes Documentation', + 'Ironic Developers', 'SushyCliReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]