From c9dc5cecbd30fffe5bdbe2f0ab7f456c473132b9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 8 Mar 2022 09:37:56 +0900 Subject: [PATCH] remove unicode literal from code All strings are considered as unicode string from Python 3. This patch drops the explicit unicode literal (u'...') appearances from the unicode strings. Change-Id: I7b131f9099d092e479ab294c52943b9420788148 Co-Authored-By: LiZekun <2954674728@qq.com> --- releasenotes/source/conf.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 7043913b..aacde2fa 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -45,7 +45,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2016, Puppet OpenStack Developers' +copyright = '2016, Puppet OpenStack 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 @@ -185,8 +185,8 @@ htmlhelp_basename = 'puppet-cephReleaseNotesdoc' # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'puppet-cephReleaseNotes.tex', u'puppet-ceph Release Notes Documentation', - u'2016, Puppet OpenStack Developers', 'manual'), + ('index', 'puppet-cephReleaseNotes.tex', 'puppet-ceph Release Notes Documentation', + '2016, Puppet OpenStack Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -215,8 +215,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'puppet-cephreleasenotes', u'puppet-ceph Release Notes Documentation', - [u'2016, Puppet OpenStack Developers'], 1) + ('index', 'puppet-cephreleasenotes', 'puppet-ceph Release Notes Documentation', + ['2016, Puppet OpenStack Developers'], 1) ] # If true, show URL addresses after external links. @@ -229,8 +229,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'puppet-cephReleaseNotes', u'puppet-ceph Release Notes Documentation', - u'2016, Puppet OpenStack Developers', 'puppet-cephReleaseNotes', 'One line description of project.', + ('index', 'puppet-cephReleaseNotes', 'puppet-ceph Release Notes Documentation', + '2016, Puppet OpenStack Developers', 'puppet-cephReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]