From cb64ae82e0c811521954a4a010ee1fcc97ef0687 Mon Sep 17 00:00:00 2001 From: YuehuiLei <leiyuehui-s@inspur.com> Date: Mon, 4 Jan 2021 15:27:26 +0800 Subject: [PATCH] remove unicode from code Change-Id: Ief261bf1f0def0cb1c27148740bf6e3a9837e590 --- doc/source/conf.py | 8 ++++---- releasenotes/source/conf.py | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index faab65f24..e4a027674 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -49,8 +49,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Barbican' -copyright = u'2014, OpenStack Foundation' +project = 'Barbican' +copyright = '2014, OpenStack Foundation' openstackdocs_repo_name = 'openstack/barbican' openstackdocs_pdf_link = True openstackdocs_auto_name = False @@ -90,8 +90,8 @@ htmlhelp_basename = '%sdoc' % project latex_documents = [ ('index', 'doc-barbican.tex', - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), + '%s Documentation' % project, + 'OpenStack Foundation', 'manual'), ] latex_use_xindy = False diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index eb84d9d46..cf36a15e2 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'Barbican Release Notes' -copyright = u'2015, Barbican Developers' +project = 'Barbican Release Notes' +copyright = '2015, Barbican Developers' openstackdocs_repo_name = 'openstack/barbican' openstackdocs_auto_name = False openstackdocs_bug_project = 'barbican' @@ -209,7 +209,7 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'BarbicanReleaseNotes.tex', - u'Barbican Release Notes Documentation', u'Barbican Developers', + 'Barbican Release Notes Documentation', 'Barbican Developers', 'manual'), ] @@ -239,8 +239,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'barbicanreleasenotes', u'Barbican Release Notes Documentation', - [u'Barbican Developers'], 1) + ('index', 'barbicanreleasenotes', 'Barbican Release Notes Documentation', + ['Barbican Developers'], 1) ] # If true, show URL addresses after external links. @@ -253,8 +253,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'BarbicanReleaseNotes', u'Barbican Release Notes Documentation', - u'Barbican Developers', 'BarbicanReleaseNotes', + ('index', 'BarbicanReleaseNotes', 'Barbican Release Notes Documentation', + 'Barbican Developers', 'BarbicanReleaseNotes', 'Barbican Release Notes Documentation.', 'Miscellaneous'), ]