heat/heat/engine/resources/openstack
Hervé Beraud e8c52040da Remove six and python 2.7 full support
Six is in use to help us to keep support for python 2.7.
Since the ussuri cycle we decide to remove the python 2.7
support so we can go ahead and also remove six usage from
the python code.

Review process and help
-----------------------
Removing six introduce a lot of changes and an huge amount of modified files
To simplify reviews we decided to split changes into several patches to avoid
painful reviews and avoid mistakes.

To review this patch you can use the six documentation [1] to obtain help and
understand choices.

Additional informations
-----------------------
Changes related to 'six.b(data)' [2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

six.b [2] encode the given datas in latin-1 in python3 so I did the same
things in this patch.

Latin-1 is equal to iso-8859-1 [3].

This encoding is the default encoding [4] of certain descriptive HTTP
headers.

I suggest to keep latin-1 for the moment and to move to another encoding
in a follow-up patch if needed to move to most powerful encoding (utf8).

HTML4 support utf8 charset and utf8 is the default charset for HTML5 [5].

Note that this commit message is autogenerated and not necesserly contains
changes related to 'six.b'

[1] https://six.readthedocs.io/
[2] https://six.readthedocs.io/#six.b
[3] https://docs.python.org/3/library/codecs.html#standard-encodings
[4] https://www.w3schools.com/charsets/ref_html_8859.asp
[5] https://www.w3schools.com/html/html_charset.asp

Patch 11 of a serie of 28 patches

Change-Id: I1d796ac4dbe29217ed87015cde21597dbcd4cf9b
2020-04-23 14:49:12 +02:00
..
aodh Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
barbican Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
blazar Add a Blazar Host resource 2019-02-18 06:41:23 +00:00
cinder Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
designate Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
glance Fix hacking warnings 2020-04-16 06:43:27 +00:00
heat Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
keystone Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
magnum Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
manila Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
mistral Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
monasca Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
neutron Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
nova Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
octavia Fix hacking warnings 2020-04-16 06:43:27 +00:00
sahara Merge "Define constants for Neutron client resource types" 2018-07-24 19:40:14 +00:00
senlin Improve handle_delete/check_delete_complete for resources 2019-12-23 10:46:15 -05:00
swift Remove log translations 2017-03-25 17:11:50 +08:00
trove Heat templates doesn't support AZ for trove cluster 2020-01-09 17:47:57 +00:00
zaqar Fix OS::Zaqar::MistralSubscription with mistralclient 3.0 2017-07-17 18:26:26 -04:00
zun zun: add 'tty' property to container 2019-12-19 02:38:40 +00:00
__init__.py Split scaling policy into separate files 2014-08-27 20:27:19 +08:00