Browse Source

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
changes/39/775839/2
tushargite96 5 months ago
parent
commit
390f04f433
  1. 12
      doc/source/conf.py
  2. 2
      releasenotes/source/conf.py

12
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'),

2
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 = ''

Loading…
Cancel
Save