summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-04-16 13:43:23 +0000
committerGerrit Code Review <review@openstack.org>2021-04-16 13:43:23 +0000
commit8d8133c5cee4785d2b8df95abbbd3f3a9e9acdef (patch)
tree9bb016e43fa09535da62335c6f58b44a850595e3
parentbaf677b479871bc4d64c935aebb0927e3c57c361 (diff)
parent2eb27aa5ae6b24dd98872328d2cae0da7d2cbbfe (diff)
downloadoslo-middleware-8d8133c5cee4785d2b8df95abbbd3f3a9e9acdef.tar.gz
Merge "remove unicode from code"
-rw-r--r--doc/source/conf.py2
-rw-r--r--oslo_middleware/tests/test_catch_errors.py2
-rw-r--r--releasenotes/source/conf.py10
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index d905196..78393ca 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -45,7 +45,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-copyright = u'2014, OpenStack Foundation'
+copyright = '2014, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
diff --git a/oslo_middleware/tests/test_catch_errors.py b/oslo_middleware/tests/test_catch_errors.py
index fa6d518..5719847 100644
--- a/oslo_middleware/tests/test_catch_errors.py
+++ b/oslo_middleware/tests/test_catch_errors.py
@@ -60,7 +60,7 @@ class CatchErrorsTest(test_base.BaseTestCase):
app = catch_errors.CatchErrors(application)
req = webob.Request.blank('/test',
- text=u'test data',
+ text='test data',
method='POST',
headers={'X-Auth-Token': 'secret1',
'X-Service-Token': 'secret2',
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index b2b8d43..2d5b578 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -56,7 +56,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
-copyright = u'2016, oslo.middleware Developers'
+copyright = '2016, oslo.middleware Developers'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -181,8 +181,8 @@ html_static_path = ['_static']
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'oslo.middlewareReleaseNotes',
- u'oslo.middleware Release Notes Documentation',
- [u'oslo.middleware Developers'], 1)
+ 'oslo.middleware Release Notes Documentation',
+ ['oslo.middleware Developers'], 1)
]
# If true, show URL addresses after external links.
@@ -196,8 +196,8 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
('index', 'oslo.middlewareReleaseNotes',
- u'oslo.middleware Release Notes Documentation',
- u'oslo.middleware Developers', 'oslo.middlewareReleaseNotes',
+ 'oslo.middleware Release Notes Documentation',
+ 'oslo.middleware Developers', 'oslo.middlewareReleaseNotes',
'The library includes components that can be injected into wsgi pipelines'
' to intercept request/response flows.',
'Miscellaneous'),