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

Removed unnecessary import #2340

Merged
merged 2 commits into from
Jan 8, 2017
Merged

Removed unnecessary import #2340

merged 2 commits into from
Jan 8, 2017

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jan 6, 2017

Resolves a TODO in _binary to replace from struct import ... with import struct

Cherry-picks an isolated commit from #2339 that achieves the same goal in JpegImagePlugin.

@radarhere radarhere changed the title Remove an unnecessary import 'import struct' rather than 'from struct import ...' Jan 6, 2017
@jleclanche
Copy link
Contributor

lgtm

@wiredfool
Copy link
Member

That todo was satisfied by the changes in radarhere@aeb1e61 , which replaced a whole bunch python stuff with struct.un/pack.

@radarhere radarhere changed the title 'import struct' rather than 'from struct import ...' Removed unnecessary import Jan 6, 2017
@radarhere
Copy link
Member Author

Thanks for catching that. Okay, I have updated this PR to remove the TODO instead.

@hugovk hugovk merged commit 51532c2 into python-pillow:master Jan 8, 2017
@radarhere radarhere deleted the import branch January 8, 2017 11:29
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

4 participants