deb-murano/murano
Ravi Shekhar Jethani f963039bd7 Python3: Replace basestring by six.string_types
The builtin basestring abstract type was removed in python3,
use str instead, we need to use six.string_types to replace
the basestring for py3 compatibility.

This patch was generated by the following tool using 'basestring'
option.

https://github.com/haypo/sixer
Command:
python sixer.py -w basestring murano/

This also adds a check to murano/hacking/checks.py that should
catch this error in the future.

Blueprint murano-python-3-support

Change-Id: I26c236ce6dd2fffd6a4ca50e55ad62deb01bd9dd
2016-01-18 23:48:37 -08:00
..
api Fix python 2 and 3 compatibility issue with six 2016-01-19 00:07:54 +08:00
cmd Python3: Replace dict.itervalues with six.itervalues 2016-01-18 03:04:23 -08:00
common Python3: Replace basestring by six.string_types 2016-01-18 23:48:37 -08:00
db Python3: Replace dict.iteritems with six.iteritems 2016-01-15 03:15:23 -08:00
dsl Python3: Replace basestring by six.string_types 2016-01-18 23:48:37 -08:00
engine Python3: Replace basestring by six.string_types 2016-01-18 23:48:37 -08:00
hacking Python3: Replace basestring by six.string_types 2016-01-18 23:48:37 -08:00
locale Imported Translations from Zanata 2016-01-16 06:15:06 +00:00
packages Python3: Replace basestring by six.string_types 2016-01-18 23:48:37 -08:00
policy Python3: Replace dict.iteritems with six.iteritems 2016-01-15 03:15:23 -08:00
services Remove arguments "{}" and "[]" in function definitions 2015-12-19 01:10:30 +08:00
tests Python3: Replace basestring by six.string_types 2016-01-18 23:48:37 -08:00
__init__.py Extract version definition to a separate file 2014-11-10 13:02:56 +04:00
context.py Inherit RequestContext from oslo_context's RequestContext 2015-08-13 15:12:59 +03:00
opts.py New middleware to handle ssl termination proxies 2015-10-14 14:27:37 +03:00
utils.py Return 403 instead of 401 HTTP Response 2015-10-23 19:21:27 +05:30
version.py Extract version definition to a separate file 2014-11-10 13:02:56 +04:00