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

Accept methods cleanup #5724

Merged
merged 3 commits into from Sep 20, 2021
Merged

Accept methods cleanup #5724

merged 3 commits into from Sep 20, 2021

Conversation

radarhere
Copy link
Member

Two changes.

  • Changed register_open calls to be consistent #5380 changed plugins to more consistently call a method called _accept as the last argument to Image.register_open. This PR also does that for our example plugin.
  • MpoImagePlugin has its Image.register_open call commented out.
    # Image.register_open(MpoImageFile.format,
    # JpegImagePlugin.jpeg_factory, _accept)

    So this PR comments out the unused _accept method from MpoImagePlugin.

@hugovk hugovk merged commit ffde039 into python-pillow:master Sep 20, 2021
@radarhere radarhere deleted the accept branch September 20, 2021 21:41
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

2 participants