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

Fixes required for newer Python versions and Linux platform detection. #1

Merged
merged 1 commit into from
May 16, 2016

Conversation

shulai
Copy link

@shulai shulai commented Apr 22, 2016

Hello friend.
I changed the imports to relative imports, making your code compatible with Python 2.6 and up (Also Python 2.5 if you add from future import absolute_import).
Also I fixed the platform detection for Linux (see platform in https://docs.python.org/2/library/sys.html)
Besides those minor changes, so far it works flawlessly in Linux using Python 3.4.
Thanks!!!

Fix detection of Linux platform according to sys.platform doc
@soachishti soachishti merged commit 32507b4 into soachishti:master May 16, 2016
@soachishti
Copy link
Owner

soachishti commented May 16, 2016

Thanks for the request @shulai. It's now merged.

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