From 0b1bfadebdeacda93c117fa0ab513bc228039372 Mon Sep 17 00:00:00 2001 From: niuke Date: Mon, 8 Aug 2022 15:24:30 +0800 Subject: remove unicode prefix from code Change-Id: I28bfa2a34222dae4ede0dad527f264eee4d5d0c4 --- doc/source/conf.py | 12 ++++++------ releasenotes/source/conf.py | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index a9a2e79..4b634f8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -70,8 +70,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'OSprofiler' -copyright = u'2016, OpenStack Foundation' +project = 'OSprofiler' +copyright = '2016, OpenStack Foundation' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -111,8 +111,8 @@ latex_elements = {} latex_documents = [ ('index', '%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), + '%s Documentation' % project, + 'OpenStack Foundation', 'manual'), ] # -- Options for Texinfo output ----------- @@ -124,8 +124,8 @@ texinfo_documents = [ ( 'index', 'OSprofiler', - u'OSprofiler Documentation', - u'OSprofiler Team', + 'OSprofiler Documentation', + 'OSprofiler Team', 'OSprofiler', 'One line description of project.', 'Miscellaneous' diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 3ea08dd..2496c25 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -58,8 +58,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'osprofiler Release Notes' -copyright = u'2016, osprofiler Developers' +project = 'osprofiler Release Notes' +copyright = '2016, osprofiler Developers' # Release notes do not need a version in the title, they span # multiple versions. @@ -209,8 +209,8 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'osprofilerReleaseNotes.tex', - u'osprofiler Release Notes Documentation', - u'osprofiler Developers', 'manual'), + 'osprofiler Release Notes Documentation', + 'osprofiler Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -240,8 +240,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'osprofilerReleaseNotes', - u'osprofiler Release Notes Documentation', - [u'osprofiler Developers'], 1) + 'osprofiler Release Notes Documentation', + ['osprofiler Developers'], 1) ] # If true, show URL addresses after external links. @@ -255,8 +255,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'osprofilerReleaseNotes', - u'osprofiler Release Notes Documentation', - u'osprofiler Developers', 'osprofilerReleaseNotes', + 'osprofiler Release Notes Documentation', + 'osprofiler Developers', 'osprofilerReleaseNotes', 'One line description of project.', 'Miscellaneous'), ] -- cgit v1.2.1