Make new Pillow antialias constant conditional.

Review Request #12418 — Created June 27, 2022 and submitted — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

The recent change to move to the modern constants for antialising caused
breakages with older Pillow versions. This change makes it conditional.

Tested with Pillow 9.0.1, which doesn't include the new constant name.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Make new Pillow antialias constant conditional.
The recent change to move to the modern constants for antialising caused breakages with older Pillow versions. This change makes it conditional. Testing Done: Tested with Pillow 9.0.1, which doesn't include the new constant name.
9d7eddf057074c1fb6ae731417311da80b4b29df David Trowbridge
djblets/util/templatetags/djblets_images.py
Loading...