summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChuck Short <chuck.short@canonical.com>2013-05-01 13:07:44 -0500
committerChuck Short <chuck.short@canonical.com>2013-05-07 11:55:56 -0500
commit63f6487e9a321dc9f89d6f71a922fcdd03b25589 (patch)
treefc9c91bd3162525867aeff7ba3a1b88ca8c55e82 /doc
parent4c69cbd8857947906e88791823cf3e9e9e5fa86a (diff)
downloadoslo-63f6487e9a321dc9f89d6f71a922fcdd03b25589.tar.gz
oslo-63f6487e9a321dc9f89d6f71a922fcdd03b25589.tar.xz
oslo-63f6487e9a321dc9f89d6f71a922fcdd03b25589.zip
Convert unicode strings for python3 portability
From http://docs.python.org/3.1/whatsnew/3.0.html You can no longer use u"..." literals for Unicode text. However, you must use b"..." literals for binary data. Use python-six to make this migration easier. Change-Id: I95166a07f4edf33be55a4bdf2674c2f238a06f19 Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index d126a23..9088cfe 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -24,8 +24,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-project = u'Oslo'
-copyright = u'2012, OpenStack Foundation'
+project = 'Oslo'
+copyright = '2012, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
@@ -57,8 +57,8 @@ html_last_updated_fmt = os.popen(git_cmd).read()
latex_documents = [
('index',
'%s.tex' % project,
- u'%s Documentation' % project,
- u'OpenStack Foundation', 'manual'),
+ '%s Documentation' % project,
+ 'OpenStack Foundation', 'manual'),
]
# Example configuration for intersphinx: refer to the Python standard library.