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 2 (Latest)

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.
0f62eb8f649cc3ac0819ab9cedea5eeb9b932546 David Trowbridge
djblets/util/templatetags/djblets_images.py
Loading...