From 299c2afe14e2bc7e33794bdf89c7da2e191f7b2a Mon Sep 17 00:00:00 2001 From: niuke Date: Wed, 24 Aug 2022 15:15:58 +0800 Subject: [PATCH] remove unicode prefix from code Change-Id: I59e8ae94eb83ae3a1ddcc99091e53686d2d55186 --- doc/source/conf.py | 4 ++-- releasenotes/source/conf.py | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 3c86c80be..b46a5a8cb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -49,8 +49,8 @@ master_doc = 'index' exclude_patterns = ['_build'] # General information about the project. -project = u'TaskFlow' -copyright = u'%s, OpenStack Foundation' % datetime.date.today().year +project = 'TaskFlow' +copyright = '%s, OpenStack Foundation' % datetime.date.today().year # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index aaab03d5f..580d22549 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -63,8 +63,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'taskflow Release Notes' -copyright = u'2016, taskflow Developers' +project = 'taskflow Release Notes' +copyright = '2016, taskflow Developers' # Release do not need a version number in the title, they # cover multiple versions. @@ -215,8 +215,8 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'taskflowReleaseNotes.tex', - u'taskflow Release Notes Documentation', - u'taskflow Developers', 'manual'), + 'taskflow Release Notes Documentation', + 'taskflow Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -246,8 +246,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'taskflowreleasenotes', - u'taskflow Release Notes Documentation', - [u'taskflow Developers'], 1) + 'taskflow Release Notes Documentation', + ['taskflow Developers'], 1) ] # If true, show URL addresses after external links. @@ -261,8 +261,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'taskflowReleaseNotes', - u'taskflow Release Notes Documentation', - u'taskflow Developers', 'taskflowReleaseNotes', + 'taskflow Release Notes Documentation', + 'taskflow Developers', 'taskflowReleaseNotes', 'An OpenStack library for parsing configuration options from the command' ' line and configuration files.', 'Miscellaneous'),