oslo.middleware/oslo_middleware
Hervé Beraud bfb4ba8cb8 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I4bc9301f5045848545182ef98e47f343a95904c3
2020-06-02 20:39:44 +02:00
..
healthcheck Drop use of six 2020-05-06 07:12:09 -05:00
locale Imported Translations from Zanata 2018-03-01 06:18:45 +00:00
tests Merge "Drop use of six" 2020-05-18 19:17:53 +00:00
__init__.py add missing shortcut for HTTPProxyToWSGI middleware 2015-11-09 13:31:59 -05:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:06:02 +08:00
base.py Drop use of six 2020-05-06 07:12:09 -05:00
catch_errors.py Fix invalid escape sequence warnings 2019-04-11 06:10:18 -05:00
correlation_id.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-12-07 04:10:58 +00:00
cors.py Merge "Drop use of six" 2020-05-18 19:17:53 +00:00
debug.py Stop to use the __future__ module. 2020-06-02 20:39:44 +02:00
http_proxy_to_wsgi.py Remove Class HTTPProxyToWSGIMiddleware 2017-09-04 11:37:09 +08:00
opts.py Update hacking version 2019-03-20 23:10:12 +08:00
request_id.py Set global_request_id if passed in as X-OpenStack-Request-ID. 2017-05-23 12:48:41 -04:00
sizelimit.py More details when logging 413 Entity Too Large 2019-07-10 20:34:59 +03:00
ssl.py Limit ssl deprecation warning to external importers 2016-10-17 10:23:23 +08:00
stats.py Fix invalid escape sequence warnings 2019-04-11 06:10:18 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00