Using six lib to replace the builtin basestring for py3 compatible

Registered by GuoHui Liu

The builtin basestring abstract type was removed in python3. Use str instead, we need to using six.string_types to replace the basestring for py3 compatibility.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
GuoHui Liu
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

I think this is straight forward enough cleanup that it doesn't need a blueprint. --russellb

Gerrit topic: https://review.openstack.org/#q,topic:bp/basestring-py3-compatible,n,z

Addressed by: https://review.openstack.org/53363
    Refactor unit tests code for python3 compatability

Addressed by: https://review.openstack.org/53390
    Replace basestring by six for python3 compatability

Addressed by: https://review.openstack.org/53531
    Replace basestring by six for python3 compatability

Addressed by: https://review.openstack.org/53776
    Nova: Replace basestring by six for python3 compatability

Addressed by: https://review.openstack.org/53799
    Nova-all: Replace basestring by six for python3 compatability

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.