From 390f04f433349fe4184b6e177669c48ca1e9c98b Mon Sep 17 00:00:00 2001 From: tushargite96 Date: Tue, 16 Feb 2021 19:48:52 +0530 Subject: [PATCH] Dropping explicit unicode literal 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: I8cf2c7a1532e1df454321387a2d49e3f1e5ed1b7 --- doc/source/conf.py | 12 ++++++------ releasenotes/source/conf.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1904c5f..71b921b 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -229,8 +229,8 @@ latex_elements = { # [howto/manual]). latex_documents = [ ('index', 'doc-cinderlib.tex', - u'Cinder Library Documentation', - u'Cinder Contributors', 'manual'), + 'Cinder Library Documentation', + 'Cinder Contributors', 'manual'), ] # The name of an image file (relative to this directory) to place at @@ -265,8 +265,8 @@ latex_additional_files = ['cinderlib.sty'] # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'cinderlib', - u'Cinder Library Documentation', - [u'Cinder Contributors'], 1) + 'Cinder Library Documentation', + ['Cinder Contributors'], 1) ] # If true, show URL addresses after external links. @@ -280,8 +280,8 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'cinderlib', - u'Cinder Library Documentation', - u'Cinder Contributors', + 'Cinder Library Documentation', + 'Cinder Contributors', 'cinderlib', 'Direct usage of Cinder Block Storage drivers without the services.', 'Miscellaneous'), diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 9a86953..09f24ef 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -34,7 +34,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2017, Cinder Developers' +copyright = '2017, Cinder Developers' # Release notes are unversioned, so we don't need to set version and release version = ''