From 96683fd4f8a7320ae38203f8ef1fcff05befcc37 Mon Sep 17 00:00:00 2001 From: niuke Date: Mon, 29 Aug 2022 19:24:57 +0800 Subject: [PATCH] remove unicode prefix from code Change-Id: I6dfb938310d7f77b01c764da1260048d0b90b6e4 --- 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 ffcbd60ec..a3c9f774e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -41,7 +41,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2017 Red Hat, Inc.' +copyright = '2017 Red Hat, Inc.' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -72,8 +72,8 @@ htmlhelp_basename = 'tripleoclientdoc' latex_documents = [ ('index', 'doc-python-tripleoclient.tex', - u'Tripleoclient Documentation', - u'OpenStack Foundation', 'manual'), + 'Tripleoclient Documentation', + 'OpenStack Foundation', 'manual'), ] # Allow deeper levels of nesting for \begin...\end stanzas diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index dcccc3e52..cde5e5ce6 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -44,7 +44,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2016, TripleO Developers' +copyright = '2016, TripleO Developers' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -188,8 +188,8 @@ htmlhelp_basename = 'python-tripleoclientReleaseNotesdoc' # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'python-tripleoclientReleaseNotes.tex', - u'python-tripleoclient Release Notes Documentation', - u'2016, TripleO Developers', 'manual'), + 'python-tripleoclient Release Notes Documentation', + '2016, TripleO Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -218,8 +218,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'python-tripleoclientreleasenotes', u'python-tripleoclient Release Notes Documentation', - [u'2016, TripleO Developers'], 1) + ('index', 'python-tripleoclientreleasenotes', 'python-tripleoclient Release Notes Documentation', + ['2016, TripleO Developers'], 1) ] # If true, show URL addresses after external links. @@ -232,8 +232,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'python-tripleoclientReleaseNotes', u'python-tripleoclient Release Notes Documentation', - u'2016, TripleO Developers', 'python-tripleoclientReleaseNotes', 'One line description of project.', + ('index', 'python-tripleoclientReleaseNotes', 'python-tripleoclient Release Notes Documentation', + '2016, TripleO Developers', 'python-tripleoclientReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]