Fix use of PIL to support Pillow

Bug #1099853 reported by Jiri Popelka
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned

Bug Description

HPLIP uses Image module from PIL (stands for Python Imaging Library).

The module is imported with 'import Image', which is possible
because of site-packages/PIL.pth path configuration file.

Correct is however 'from PIL import Image' and that one is necessary
if one wants to use [1] Pillow (PIL fork) [2].

[1] https://fedoraproject.org/wiki/Features/Pillow
[2] https://github.com/python-imaging/Pillow/

Revision history for this message
Jiri Popelka (jpopelka) wrote :
Changed in hplip:
status: New → Fix Committed
Ani Balakrishnan (anib)
Changed in hplip:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.