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.

Changes between revision 1 and 2

orig
1
2

Commits

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
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...