From 0fdbcf5862636b77c753121f0f61dbe140bd44d0 Mon Sep 17 00:00:00 2001 From: songwenping Date: Mon, 25 Oct 2021 03:12:02 +0000 Subject: [PATCH] Remove unicode from code in release note 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: I31f13190fe7caa48fad1ce1a311065244c8aed72 --- releasenotes/source/conf.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index efc6fc2a52..ec72ba6034 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -33,7 +33,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2015, Sahara Developers' +copyright = '2015, Sahara Developers' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -141,8 +141,8 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'SaharaReleaseNotes.tex', u'Sahara Release Notes Documentation', - u'Sahara Developers', 'manual'), + ('index', 'SaharaReleaseNotes.tex', 'Sahara Release Notes Documentation', + 'Sahara Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -171,8 +171,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'saharareleasenotes', u'Sahara Release Notes Documentation', - [u'Sahara Developers'], 1) + ('index', 'saharareleasenotes', 'Sahara Release Notes Documentation', + ['Sahara Developers'], 1) ] # If true, show URL addresses after external links. @@ -185,8 +185,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'SaharaReleaseNotes', u'Sahara Release Notes Documentation', - u'Sahara Developers', 'SaharaReleaseNotes', + ('index', 'SaharaReleaseNotes', 'Sahara Release Notes Documentation', + 'Sahara Developers', 'SaharaReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]