Skip to content

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

Merged
soachishti merged 1 commit intosoachishti:masterfrom
shulai:master
May 16, 2016
Merged

Fixes required for newer Python versions and Linux platform detection.#1
soachishti merged 1 commit intosoachishti:masterfrom
shulai:master

Conversation

@shulai
Copy link
Copy Markdown

@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
Copy Markdown
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