diff options
| author | Chuck Short <chuck.short@canonical.com> | 2013-08-23 10:02:01 -0400 |
|---|---|---|
| committer | Morgan Fainberg <m@metacloud.com> | 2013-08-30 02:41:49 +0000 |
| commit | c27800ee78f017e4cf4c6ee34688ba528e928634 (patch) | |
| tree | 1cbcacb9853bb38ce412c790197fcb9c9e5dfffe /doc/source | |
| parent | 29f8b987a9228e7984fef83c500bdfafee77ad96 (diff) | |
| download | python-keystoneclient-c27800ee78f017e4cf4c6ee34688ba528e928634.tar.gz | |
python3: Use from future import unicode_literals
use "from future import unicode_literals" instead of u""
To the road to Python3, a possible next step would be to use the from __future__ import unicode_literals
and remove the u'' prefixes, as it is not supported in Python3.
Change-Id: Ic7afb3cf2d8dfad47b8a1626ab264f6d4f50d00e
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/conf.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 603daf2..c1d68b8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -12,6 +12,8 @@ # All configuration values have a default; values that are commented out # serve to show the default. +from __future__ import unicode_literals + import os import sys import pbr.version @@ -49,8 +51,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'python-keystoneclient' -copyright = u'OpenStack Contributors' +project = 'python-keystoneclient' +copyright = 'OpenStack Contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -100,11 +102,11 @@ pygments_style = 'sphinx' #modindex_common_prefix = [] # Grouping the document tree for man pages. -# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual' +# List of tuples 'sourcefile', 'target', 'title', 'Authors name', 'manual' man_pages = [ - ('man/keystone', 'keystone', u'Client for OpenStack Identity API', - [u'OpenStack Contributors'], 1), + ('man/keystone', 'keystone', 'Client for OpenStack Identity API', + ['OpenStack Contributors'], 1), ] # -- Options for HTML output -------------------------------------------------- @@ -196,8 +198,8 @@ htmlhelp_basename = 'python-keystoneclientdoc' # . latex_documents = [ ('index', 'python-keystoneclient.tex', - u'python-keystoneclient Documentation', - u'Nebula Inc, based on work by Rackspace and Jacob Kaplan-Moss', + 'python-keystoneclient Documentation', + 'Nebula Inc, based on work by Rackspace and Jacob Kaplan-Moss', 'manual'), ] |
