Add support for Pillow (fork of PIL)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
Low
|
Vincent Cheng |
Bug Description
Debian/Ubuntu's "python-imaging" package is switching over from the old PIL to a PIL-friendly fork (Pillow), which doesn't provide top-level modules. AFAICS the only thing in Exaile that uses PIL is the contextinfo plugin, so here's a patch to fix that.
Some background info can be found on debian-devel (https:/
--- a/plugins/
+++ b/plugins/
@@ -8,7 +8,10 @@
from xlgui.widgets.
import HTMLParser
from StringIO import StringIO
-import Image
+try:
+ from PIL import Image
+except ImportError:
+ import Image
import base64
import glib
import gobject
Changed in exaile: | |
status: | Fix Committed → Fix Released |
Thanks, commited with r4357 in trunk and r4319 in 3.3.x.