From 5aa867402f4d03737728af28fc7b96a5527e750b Mon Sep 17 00:00:00 2001 From: sunxifa Date: Sun, 3 Jan 2021 11:17:42 +0800 Subject: [PATCH] Remove unicode to adapt to Python3 Change-Id: I4d8de05aa8e7d0828957c33bda78038794621e95 --- 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 e60681f..edcf2d2 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -39,7 +39,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2018-2019, OpenStack Octavia Team' +copyright = '2018-2019, OpenStack Octavia Team' # openstackdocstheme options openstackdocs_repo_name = 'openstack/octavia-lib' @@ -116,8 +116,8 @@ smartquotes_excludes = {'builders': ['latex']} latex_documents = [( 'index', 'doc-octavia-lib.tex', - u'Octavia Library Documentation', - u'OpenStack Octavia Team', + 'Octavia Library Documentation', + 'OpenStack Octavia Team', 'manual' )] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index f5be1fb..bab9341 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -52,7 +52,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2017, OpenStack Developers' +copyright = '2017, OpenStack Developers' # openstackdocstheme options openstackdocs_repo_name = 'openstack/octavia-lib' @@ -189,8 +189,8 @@ htmlhelp_basename = 'octavia_libReleaseNotesdoc' # documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'octavia_libReleaseNotes.tex', - u'octavia_lib Release Notes Documentation', - u'OpenStack Foundation', 'manual'), + 'octavia_lib Release Notes Documentation', + 'OpenStack Foundation', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -220,8 +220,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'octavia_librereleasenotes', - u'octavia_lib Release Notes Documentation', - [u'OpenStack Foundation'], 1) + 'octavia_lib Release Notes Documentation', + ['OpenStack Foundation'], 1) ] # If true, show URL addresses after external links. @@ -235,8 +235,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'octavia_lib ReleaseNotes', - u'octavia_lib Release Notes Documentation', - u'OpenStack Foundation', 'octavia_libReleaseNotes', + 'octavia_lib Release Notes Documentation', + 'OpenStack Foundation', 'octavia_libReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]