Updated phatch packages fix python ValueError
Publication date: 01 Dec 2017Modification date: 01 Dec 2017
Type: bugfix
Affected Mageia releases : 6
Description
Our current phatch package doesn't work due to a breaking change to the
PIL library. The wxPython library wraps image sizes in a wx.Size object, a
class which provides the __len__ and accessor methods expected for a
tuple. There's been a breaking change to the PIL library, which now
explicitly checks the type of the size passed to it, and rejects anything
which is not a tuple or a list.
This update adds a call to wx.Size.Get(), which returns the size as a
tuple.
SRPMS
6/core
- phatch-0.2.7.1-14.1.mga6