From 0ee5e17ee530b9fda3146ee4c4780e36669920a1 Mon Sep 17 00:00:00 2001 From: niuke Date: Wed, 24 Aug 2022 19:46:44 +0800 Subject: [PATCH] remove unicode prefix from code Change-Id: I716442a44cdb0cd651cfed8419713c6d76f2ba14 --- doc/source/conf.py | 8 ++++---- releasenotes/source/conf.py | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 0d9a4e9..eab9042 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -44,8 +44,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'python-cloudkittyclient' -copyright = u'2017, OpenStack Foundation' +project = 'python-cloudkittyclient' +copyright = '2017, OpenStack Foundation' # openstackdocstheme options repository_name = 'openstack/python-cloudkittyclient' @@ -99,8 +99,8 @@ latex_elements = { latex_documents = [ ('index', 'doc-%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'howto', True), + '%s Documentation' % project, + 'OpenStack Foundation', 'howto', True), ] # Example configuration for intersphinx: refer to the Python standard library. diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index b269e8f..dd5ad04 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -42,8 +42,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'CloudKitty Client Release Notes' -copyright = u'2016, CloudKitty developers' +project = 'CloudKitty Client Release Notes' +copyright = '2016, CloudKitty developers' # Release notes are version independent. # The short X.Y version. @@ -194,8 +194,8 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'PythonCloudKittyClient.tex', - u'CloudKitty Client Release Notes Documentation', - u'CloudKitty developers', 'manual'), + 'CloudKitty Client Release Notes Documentation', + 'CloudKitty developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -225,8 +225,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'cloudkittyclient', - u'CloudKitty Client Release Notes Documentation', - [u'CloudKitty developers'], 1) + 'CloudKitty Client Release Notes Documentation', + ['CloudKitty developers'], 1) ] # If true, show URL addresses after external links. @@ -240,8 +240,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'cloudkittyclient', - u'CloudKitty Client Release Notes Documentation', - u'CloudKitty Client developers', 'CloudKittyClient', + 'CloudKitty Client Release Notes Documentation', + 'CloudKitty Client developers', 'CloudKittyClient', 'One line description of project.', 'Miscellaneous'), ]