Using six lib to replace the builtin basestring for py3 compatible
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
- Started by
- Completed by
- Russell Bryant
Related branches
Related bugs
Sprints
Whiteboard
I think this is straight forward enough cleanup that it doesn't need a blueprint. --russellb
Gerrit topic: https:/
Addressed by: https:/
Refactor unit tests code for python3 compatability
Addressed by: https:/
Replace basestring by six for python3 compatability
Addressed by: https:/
Replace basestring by six for python3 compatability
Addressed by: https:/
Nova: Replace basestring by six for python3 compatability
Addressed by: https:/
Nova-all: Replace basestring by six for python3 compatability