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

Added Python 3 Compatibility #9

Merged
merged 1 commit into from Sep 29, 2016
Merged

Added Python 3 Compatibility #9

merged 1 commit into from Sep 29, 2016

Conversation

tcyrus
Copy link
Contributor

@tcyrus tcyrus commented Sep 28, 2016

Python 3 compatibility is implemented by removing has_key and using __future__ for print function support. Also added ImageMagick as a requirement in README.md (since the convert command is part of ImageMagick).

@mzucker
Copy link
Owner

mzucker commented Sep 28, 2016

Thanks! 2 minor changes before accepting PR: I spell it "writeup" in my other 5 repos, so would like to preserve that spelling to maintain consistency across them. Also, printing out the results of the postprocessing command got a bit muddled in the transition to print_function.

I hope the attached patch applies easily so you can see what I'm talking about.

patch.txt

Copy link

@daneah daneah left a comment

Choose a reason for hiding this comment

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

Can independently corroborate that these changes are what got things working in Python 3 on my end 😄

Python 3 compatibility is implemented by removing `has_key` and
using `__future__` for print function support. Also added
ImageMagick as a requirement in README.md (since the `convert`
command is part of ImageMagick).
@tcyrus
Copy link
Contributor Author

tcyrus commented Sep 29, 2016

@mzucker, I Applied the Patch.

@mzucker mzucker merged commit d625852 into mzucker:master Sep 29, 2016
@mzucker
Copy link
Owner

mzucker commented Sep 29, 2016

Merged!

@tcyrus tcyrus deleted the python-3 branch September 29, 2016 12:56
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.

None yet

3 participants