From 4cfb9da1bbc90705d28b7dad7da96fa072e4f5ca Mon Sep 17 00:00:00 2001 From: Manpreet Kaur Date: Sat, 30 Jan 2021 21:34:42 +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: Idebf8d598a75e202ff399aaa1d0f172afa8e7401 --- doc/source/conf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 145656f7..8806f1e1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,8 +50,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Tacker Specs' -copyright = u'%s, OpenStack Tacker Team' % datetime.date.today().year +project = 'Tacker Specs' +copyright = '%s, OpenStack Tacker Team' % datetime.date.today().year # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -184,8 +184,8 @@ latex_elements = { # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'Tacker-specs.tex', u'Tacker Specs', - u'OpenStack Tacker Team', 'manual'), + ('index', 'Tacker-specs.tex', 'Tacker Specs', + 'OpenStack Tacker Team', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -214,8 +214,8 @@ latex_documents = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'Tacker-specs', u'Tacker Design Specs', - u'OpenStack Tacker Team', 'tacker-specs', 'Design specifications for the Tacker project.', + ('index', 'Tacker-specs', 'Tacker Design Specs', + 'OpenStack Tacker Team', 'tacker-specs', 'Design specifications for the Tacker project.', 'Miscellaneous'), ]