Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1349 from chrismedrela/ticket19934-comment

Added clarification comments to django.utils.image; refs #19934
  • Loading branch information...
commit b82a2c41387648f81387b1e03371331db3630269 2 parents 3cdeb57 + b4c61c2
Tim Graham authored July 12, 2013

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  django/utils/image.py
4  django/utils/image.py
... ...
@@ -1,7 +1,7 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 """
3 3
 To provide a shim layer over Pillow/PIL situation until the PIL support is
4  
-removed.
  4
+removed. See #19934.
5 5
 
6 6
 
7 7
 Combinations To Account For
@@ -132,6 +132,8 @@ def _detect_image_library():
132 132
     try:
133 133
         from PIL import ImageFile as PILImageFile
134 134
     except ImportError:
  135
+        # This import cannot fail unless Pillow/PIL install is completely
  136
+        # broken (e.g. missing Python modules).
135 137
         import ImageFile as PILImageFile
136 138
 
137 139
     # Finally, warn about deprecation...

0 notes on commit b82a2c4

Please sign in to comment.
Something went wrong with that request. Please try again.