From fa93fcf5823287d89fbac21c18afce03c2eda2b7 Mon Sep 17 00:00:00 2001
From: wangjiaqi07 <wangjiaqi07@inspur.com>
Date: Thu, 25 Aug 2022 10:21:57 +0800
Subject: [PATCH] remove unicode from code

Change-Id: Ibdf2f5d6a975d91208e7f14dc027c0c4e962533f
---
 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 e6aa35b..415a9ce 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -37,8 +37,8 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'python-magnumclient'
-copyright = u'2013, OpenStack Foundation'
+project = 'python-magnumclient'
+copyright = '2013, OpenStack Foundation'
 
 # If true, '()' will be appended to :func: etc. cross-reference text.
 add_function_parentheses = True
@@ -76,8 +76,8 @@ htmlhelp_basename = '%sdoc' % project
 latex_documents = [
     ('index',
      '%s.tex' % project,
-     u'%s Documentation' % project,
-     u'OpenStack Foundation', 'manual'),
+     '%s Documentation' % project,
+     'OpenStack Foundation', 'manual'),
 ]
 
 # Example configuration for intersphinx: refer to the Python standard library.
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index b2cf0a0..7957864 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'MagnumClientReleaseNotes'
-copyright = u'2016, OpenStack Foundation'
+project = 'MagnumClientReleaseNotes'
+copyright = '2016, OpenStack Foundation'
 
 # Release notes are version independent.
 # The short X.Y version.
@@ -203,8 +203,8 @@ latex_elements = {}
 # author, documentclass [howto, manual, or own class]).
 latex_documents = [
     ('index', 'MagnumClientReleaseNotes.tex',
-     u'MagnumClient ReleaseNotes Documentation',
-     u'OpenStack Foundation', 'manual'),
+     'MagnumClient ReleaseNotes Documentation',
+     'OpenStack Foundation', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of
@@ -234,8 +234,8 @@ latex_documents = [
 # (source start file, name, description, authors, manual section).
 man_pages = [
     ('index', 'MagnumClientReleaseNotes',
-     u'MagnumClient ReleaseNotes Documentation',
-     [u'OpenStack Foundation'], 1)
+     'MagnumClient ReleaseNotes Documentation',
+     ['OpenStack Foundation'], 1)
 ]
 
 # If true, show URL addresses after external links.
@@ -249,8 +249,8 @@ man_pages = [
 # dir menu entry, description, category)
 texinfo_documents = [
     ('index', 'MagnumClientReleaseNotes',
-     u'MagnumClient ReleaseNotes Documentation',
-     u'OpenStack Foundation', 'MagnumClientReleaseNotes',
+     'MagnumClient ReleaseNotes Documentation',
+     'OpenStack Foundation', 'MagnumClientReleaseNotes',
      'One line description of project.',
      'Miscellaneous'),
 ]
-- 
GitLab