* Matthias Klose <[email protected]>, 2013-02-10, 17:54:
Fixes should be easy and made in a way that works with both the old PIL modules and the new Pillow egg/package:

 import Image

should become

 try:
   from PIL import Image
 except ImportError:
   import Image

Why is the "import Image" fallback necessary? "from PIL import Image" works with the old PIL, too.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to