From e090890c02618037cc7f60e68ba259c8382cc756 Mon Sep 17 00:00:00 2001 From: songwenping Date: Mon, 25 Oct 2021 03:09:21 +0000 Subject: [PATCH] Remove unicode from code in api-ref conf In python 3, all strings are considered as unicode string. This patch drops the explicit unicode literal (u'...') or (u"..") appearances from the unicode strings. Change-Id: Ia3daf3f63ddfe0a6494ecb02413d495743ca0d3d --- api-ref/source/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 4d26f3ad84..1e2a0147d4 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -65,7 +65,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2010-present, OpenStack Foundation' +copyright = '2010-present, OpenStack Foundation' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -99,7 +99,7 @@ pygments_style = 'sphinx' # -- Options for man page output ---------------------------------------------- # Grouping the document tree for man pages. -# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual' +# List of tuples 'sourcefile', 'target', 'title', 'Authors name', 'manual' # -- Options for HTML output -------------------------------------------------- @@ -185,8 +185,8 @@ htmlhelp_basename = 'saharaoc' # (source start file, target name, title, author, documentclass # [howto/manual]). latex_documents = [ - ('index', 'Sahara.tex', u'OpenStack Data Processing API Documentation', - u'OpenStack Foundation', 'manual'), + ('index', 'Sahara.tex', 'OpenStack Data Processing API Documentation', + 'OpenStack Foundation', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of