From 55e09695179cc737b72e915412b3d916d57573fb Mon Sep 17 00:00:00 2001 From: niuke Date: Tue, 23 Aug 2022 19:34:58 +0800 Subject: [PATCH] remove unicode prefix from code Change-Id: I58eaf23bde1bace985a1d80638c4edc0b020cdd5 --- doc/source/conf.py | 6 +++--- releasenotes/source/conf.py | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 90d9fa5f..014875c1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -81,7 +81,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'{}, OpenStack Foundation'.format(datetime.date.year) +copyright = '{}, OpenStack Foundation'.format(datetime.date.year) # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['validations_libs.'] @@ -122,8 +122,8 @@ latex_documents = [ ( 'index', 'doc-validations-libs.tex', - u'Validations Framework Client Documentation', - u'OpenStack LLC', + 'Validations Framework Client Documentation', + 'OpenStack LLC', 'manual' ), ] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 024bb4fd..ed30653a 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -53,9 +53,9 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -authors = u'Validations Framework Developers' -project = u'validations-libs Release Notes' -copyright = u'2021, ' + authors +authors = 'Validations Framework Developers' +project = 'validations-libs Release Notes' +copyright = '2021, ' + authors # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -231,7 +231,7 @@ htmlhelp_basename = 'validations-libsReleaseNotesdoc' # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'validations-libsReleaseNotes.tex', - u'validations-libs Release Notes Documentation', + 'validations-libs Release Notes Documentation', authors, 'manual'), ] @@ -274,7 +274,7 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ (master_doc, 'validations-libsreleasenotes', - u'validations-libs Release Notes Documentation', + 'validations-libs Release Notes Documentation', [authors], 1) ] @@ -290,7 +290,7 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ (master_doc, 'validations-libsReleaseNotes', - u'validations-libs Release Notes Documentation', + 'validations-libs Release Notes Documentation', authors, 'validations-libsReleaseNotes', 'A collection of python libraries for the Validation Framework.', 'Miscellaneous'),