From e2206a300de50e2f708206d03f79a1f9082c75bc Mon Sep 17 00:00:00 2001 From: songwenping Date: Tue, 19 Apr 2022 19:21:47 +0800 Subject: [PATCH] Remove unnecessary unicode prefixes Change-Id: I4b8b982c9ef49595682744e022154be87f259d23 --- doc/source/conf.py | 8 ++++---- releasenotes/source/conf.py | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1a530ae..88d0788 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -43,8 +43,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'oslo.rootwrap' -copyright = u'2014, OpenStack Foundation' +project = 'oslo.rootwrap' +copyright = '2014, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -74,6 +74,6 @@ htmlhelp_basename = '%sdoc' % project latex_documents = [ ('index', '%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), + '%s Documentation' % project, + 'OpenStack Foundation', 'manual'), ] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 3db7313..3366c7a 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -59,7 +59,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2016, oslo.rootwrap Developers' +copyright = '2016, oslo.rootwrap Developers' # Release notes do not need a version in the title, they span # multiple versions. @@ -195,8 +195,8 @@ htmlhelp_basename = 'oslo.rootwrapReleaseNotesDoc' # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'oslo.rootwrapReleaseNotes.tex', - u'oslo.rootwrap Release Notes Documentation', - u'oslo.rootwrap Developers', 'manual'), + 'oslo.rootwrap Release Notes Documentation', + 'oslo.rootwrap Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -226,8 +226,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'oslo.rootwrapReleaseNotes', - u'oslo.rootwrap Release Notes Documentation', - [u'oslo.rootwrap Developers'], 1) + 'oslo.rootwrap Release Notes Documentation', + ['oslo.rootwrap Developers'], 1) ] # If true, show URL addresses after external links. @@ -241,8 +241,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'oslo.rootwrapReleaseNotes', - u'oslo.rootwrap Release Notes Documentation', - u'oslo.rootwrap Developers', 'oslo.rootwrapReleaseNotes', + 'oslo.rootwrap Release Notes Documentation', + 'oslo.rootwrap Developers', 'oslo.rootwrapReleaseNotes', 'Allows fine-grained filtering of shell commands to run as root from' ' OpenStack services.', 'Miscellaneous'),