From a56702807db83db775b86b5070d6f1756e8ebedf Mon Sep 17 00:00:00 2001 From: liyou01 Date: Thu, 7 Jan 2021 11:05:41 +0800 Subject: [PATCH] remove unicode from code Change-Id: I354c9c624ac807203cb69c882c83e1a5f84b435e --- doc/source/conf.py | 6 +++--- releasenotes/source/conf.py | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 63e4bc5..5c1b4d9 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -47,7 +47,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2016, OpenStack Foundation' +copyright = '2016, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -142,8 +142,8 @@ suppress_warnings = ['image.nonlocal_uri'] # (source start file, target name, title, author, documentclass # [howto/manual]). latex_documents = [ - ('index', 'doc-devstack-tools.tex', u'Devstack-tools Documentation', - u'OpenStack Foundation', 'manual'), + ('index', 'doc-devstack-tools.tex', 'Devstack-tools Documentation', + 'OpenStack Foundation', '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 77f4352..f32bff3 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -61,8 +61,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'devstack-tools Release Notes' -copyright = u'2016, OpenStack Foundation' +project = 'devstack-tools Release Notes' +copyright = '2016, OpenStack Foundation' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -215,8 +215,8 @@ latex_elements = { # (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 @@ -245,8 +245,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. @@ -259,8 +259,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'), ]