From bbc32db6f4816edaa76f3ff742e6bee01e5d76fe Mon Sep 17 00:00:00 2001 From: zhangboye Date: Sun, 3 Jan 2021 16:29:29 +0800 Subject: [PATCH] remove unicode from code Change-Id: If79590fd1f390ad44aa96041240a09b3646f11bd --- doc/source/conf.py | 6 +++--- releasenotes/source/conf.py | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index f1f25fc6..b39d5938 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -42,7 +42,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2013, OpenStack Foundation' +copyright = '2013, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -70,8 +70,8 @@ htmlhelp_basename = 'zunclientdoc' latex_documents = [ ('index', 'doc-python-zunclient.tex', - u'Python Zun Client Documentation', - u'Zun development team', 'manual'), + 'Python Zun Client Documentation', + 'Zun development team', 'manual'), ] # Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 680dc330..052e2fc4 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -55,7 +55,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2016, OpenStack Foundation' +copyright = '2016, OpenStack Foundation' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -186,8 +186,8 @@ htmlhelp_basename = 'GlanceReleaseNotesdoc' # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'GlanceReleaseNotes.tex', u'Glance Release Notes Documentation', - u'Glance Developers', 'manual'), + ('index', 'GlanceReleaseNotes.tex', 'Glance Release Notes Documentation', + 'Glance Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -216,8 +216,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'glancereleasenotes', u'Glance Release Notes Documentation', - [u'Glance Developers'], 1) + ('index', 'glancereleasenotes', 'Glance Release Notes Documentation', + ['Glance Developers'], 1) ] # If true, show URL addresses after external links. @@ -230,8 +230,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'GlanceReleaseNotes', u'Glance Release Notes Documentation', - u'Glance Developers', 'GlanceReleaseNotes', + ('index', 'GlanceReleaseNotes', 'Glance Release Notes Documentation', + 'Glance Developers', 'GlanceReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]