From 02643dedcd0505dd21a1419d754a7918410efee7 Mon Sep 17 00:00:00 2001 From: zhangtongjian <125163227@qq.com> Date: Tue, 5 Jan 2021 17:15:02 +0800 Subject: [PATCH] remove unicode from code Change-Id: I2b0fbd01cebaa8ef4ce1a1565e8021c46ecd1445 --- doc/source/conf.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 5544deb2..0c877ab4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -64,7 +64,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Glance Specs' +project = 'Glance Specs' copyright = u'%s, OpenStack Glance Team' % datetime.date.today().year # The language for content autogenerated by Sphinx. Refer to documentation @@ -195,8 +195,8 @@ latex_elements = { # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'Glance-specs.tex', u'Glance Specs', - u'OpenStack Glance Team', 'manual'), + ('index', 'Glance-specs.tex', 'Glance Specs', + 'OpenStack Glance Team', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -225,8 +225,8 @@ latex_documents = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'Glance-specs', u'Glance Design Specs', - u'OpenStack Glance Team', 'glance-specs', 'Design specifications for the Glance project.', + ('index', 'Glance-specs', 'Glance Design Specs', + 'OpenStack Glance Team', 'glance-specs', 'Design specifications for the Glance project.', 'Miscellaneous'), ] @@ -243,10 +243,10 @@ texinfo_documents = [ # -- Options for Epub output --------------------------------------------------- # Bibliographic Dublin Core info. -epub_title = u'Glance Specs' -epub_author = u'OpenStack Glance Team' -epub_publisher = u'OpenStack Glance Team' -epub_copyright = u'2014, OpenStack Glance Team' +epub_title = 'Glance Specs' +epub_author = 'OpenStack Glance Team' +epub_publisher = 'OpenStack Glance Team' +epub_copyright = '2014, OpenStack Glance Team' # The language of the text. It defaults to the language option # or en if the language is not set.