Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[py2] fix str check in parse_datasource #106

Merged
merged 1 commit into from
Jan 4, 2018

Conversation

mistercrunch
Copy link
Member

Checking for str type in python2.* doesn't work because in many cases
string will be unicode.

This PR makes use of the six lib to make the call py2/3 compatible

Checking for `str` type in python2.* doesn't work because in many cases
string will be unicode.

This PR makes use of the `six` lib to make the call py2/3 compatible
Copy link
Contributor

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gogogo

@mistercrunch mistercrunch merged commit 4e18d5e into druid-io:master Jan 4, 2018
@mistercrunch mistercrunch deleted the fix_py2 branch January 4, 2018 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants