From e37c5d2aff49677688715f5db6bd2ee4a0ef58b8 Mon Sep 17 00:00:00 2001 From: xuanyandong Date: Sun, 3 Jan 2021 16:21:39 +0800 Subject: [PATCH] remove unicode from code Change-Id: I4cf57785a3d2e6121fbb470b57a1ba48a3549ef6 --- doc/source/conf.py | 8 ++++---- releasenotes/source/conf.py | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 3e96e805..f0ff4d1c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -45,8 +45,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'oslo.service' -copyright = u'2014, OpenStack Foundation' +project = 'oslo.service' +copyright = '2014, OpenStack Foundation' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -76,6 +76,6 @@ htmlhelp_basename = '%sdoc' % project latex_documents = [ ('index', '%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), + '%s Documentation' % project, + 'OpenStack Foundation', 'manual'), ] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index dd1993fb..da135d3e 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -60,8 +60,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'oslo.service Release Notes' -copyright = u'2016, oslo.service Developers' +project = 'oslo.service Release Notes' +copyright = '2016, oslo.service Developers' # Release notes do not need a version in the title, they span # multiple versions. @@ -208,8 +208,8 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'oslo.serviceReleaseNotes.tex', - u'oslo.service Release Notes Documentation', - u'oslo.service Developers', 'manual'), + 'oslo.service Release Notes Documentation', + 'oslo.service Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -239,8 +239,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'oslo.serviceReleaseNotes', - u'oslo.service Release Notes Documentation', - [u'oslo.service Developers'], 1) + 'oslo.service Release Notes Documentation', + ['oslo.service Developers'], 1) ] # If true, show URL addresses after external links. @@ -254,8 +254,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'oslo.serviceReleaseNotes', - u'oslo.service Release Notes Documentation', - u'oslo.service Developers', 'oslo.serviceReleaseNotes', + 'oslo.service Release Notes Documentation', + 'oslo.service Developers', 'oslo.serviceReleaseNotes', 'Provides a framework for defining new long-running services using the' ' patterns established by other OpenStack applications', 'Miscellaneous'),