From 20a10f0fb54e98368afc92639f6a15ed4a0aa218 Mon Sep 17 00:00:00 2001 From: zhangboye Date: Sun, 3 Jan 2021 17:06:29 +0800 Subject: [PATCH] remove unicode from code Change-Id: Iaaf58b009ea6abea1e7fb32cd87c6aac6e18ac85 --- 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 f7093aa2..9ef15abf 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -39,8 +39,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Mistral Client' -copyright = u'2016, Mistral Contributors' +project = 'Mistral Client' +copyright = '2016, Mistral Contributors' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -95,8 +95,8 @@ htmlhelp_basename = 'Mistraldoc' # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'mistral_client', u'Mistral Client Documentation', - [u'Mistral Contributors'], 1) + ('index', 'mistral_client', 'Mistral Client Documentation', + ['Mistral Contributors'], 1) ] # -- Options for openstackdocstheme ------------------------------------------- diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index c0a4d1af..cc29222d 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -54,8 +54,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Mistral Client Release Notes' -copyright = u'2016, Mistral developers' +project = 'Mistral Client Release Notes' +copyright = '2016, Mistral developers' # Release notes are version independent. # The short X.Y version. @@ -187,8 +187,8 @@ latex_elements = { # documentclass [howto/manual]). latex_documents = [ ('index', 'MistralClientReleaseNotes.tex', - u'Mistral Client Release Notes Documentation', - u'Mistral developers', 'manual'), + 'Mistral Client Release Notes Documentation', + 'Mistral developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -218,8 +218,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'mistral_clientreleasenotes', - u'Mistral Client Release Notes Documentation', - [u'Mistral developers'], 1) + 'Mistral Client Release Notes Documentation', + ['Mistral developers'], 1) ] # If true, show URL addresses after external links. @@ -233,8 +233,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'MistralClientReleaseNotes', - u'Mistral Client Release Notes Documentation', - u'Mistral developers', 'MistralClientReleaseNotes', + 'Mistral Client Release Notes Documentation', + 'Mistral developers', 'MistralClientReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]