← Back to team overview

openerp-india team mailing list archive

[Bug 930550] Re: 'import Image' instead of 'from PIL import Image' in point_of_sale.py

 

Hello,

You're right, the pos module was breaking our convention of cleanly importing PIL.
Your patch was merged in trunk addons at revision 6554 (rev-id: odo@xxxxxxxxxxx-20120213102432-tl0d0yhfyrg8iwnn)

Thanks a lot for taking the time to report it and provide a patch for
the issue at the same time!



** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Fix Released

** Changed in: openobject-addons
    Milestone: None => 6.1

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/930550

Title:
  'import Image' instead of 'from PIL import Image'  in point_of_sale.py

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  While 'import Image' works with the standard PIL installation, it is
  not supported and not compatible Pillow, the friendly PIL fork.

  PIL is imported correctly in all other places:
  find -name "*.py" -print0 |xargs -0 grep 'import Image'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/930550/+subscriptions


References