From 63f6487e9a321dc9f89d6f71a922fcdd03b25589 Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Wed, 1 May 2013 13:07:44 -0500 Subject: 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 --- doc/source/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') 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. -- cgit