From 6115a3ea87194d4d5cd6bab045415a9a4af4486c Mon Sep 17 00:00:00 2001 From: xuanyandong Date: Sun, 3 Jan 2021 16:06:59 +0800 Subject: [PATCH] remove unicode from code Change-Id: I09d641c27372bba638aa8be207d27d80c8ec01ab --- 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 1316da2..56f2496 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -36,8 +36,8 @@ apidoc_separate_modules = True master_doc = 'index' # General information about the project. -project = u'oslo.limit' -copyright = u'2018, OpenStack Foundation' +project = 'oslo.limit' +copyright = '2018, OpenStack Foundation' # 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 5c56e9f..61d652b 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -57,8 +57,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'oslo.limit Release Notes' -copyright = u'2018, OpenStack Foundation' +project = 'oslo.limit Release Notes' +copyright = '2018, OpenStack Foundation' # Release notes are version independent @@ -206,8 +206,8 @@ latex_elements = { # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'oslo.limitReleaseNotes.tex', - u'oslo.limit Release Notes Documentation', - u'oslo.limit Developers', 'manual'), + 'oslo.limit Release Notes Documentation', + 'oslo.limit Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -237,8 +237,8 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'oslo.limitreleasenotes', - u'oslo.limit Release Notes Documentation', - [u'oslo.limit Developers'], 1) + 'oslo.limit Release Notes Documentation', + ['oslo.limit Developers'], 1) ] # If true, show URL addresses after external links. @@ -252,8 +252,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'oslo.limitReleaseNotes', - u'oslo.limit Release Notes Documentation', - u'oslo.limit Developers', 'oslo.limitReleaseNotes', + 'oslo.limit Release Notes Documentation', + 'oslo.limit Developers', 'oslo.limitReleaseNotes', 'Limit enforcement library for OpenStack.', 'Miscellaneous'), ] -- GitLab