Blame SOURCES/OpenCV-2.4.4-pillow.patch

e99b60
diff -up OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py.pillow OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py
e99b60
--- OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py.pillow	2013-01-28 00:00:47.000000000 +0100
e99b60
+++ OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py	2013-02-18 19:56:11.979405809 +0100
e99b60
@@ -31,7 +31,8 @@
e99b60
 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
e99b60
 # POSSIBILITY OF SUCH DAMAGE.
e99b60
 
e99b60
-import sys, math, Image
e99b60
+import sys, math
e99b60
+from PIL import Image
e99b60
 
e99b60
 def Distance(p1,p2):
e99b60
   dx = p2[0] - p1[0]
e99b60
diff -up OpenCV-2.4.4/modules/python/test/ticket_6.py.pillow OpenCV-2.4.4/modules/python/test/ticket_6.py
e99b60
--- OpenCV-2.4.4/modules/python/test/ticket_6.py.pillow	2013-01-28 00:00:48.000000000 +0100
e99b60
+++ OpenCV-2.4.4/modules/python/test/ticket_6.py	2013-02-18 19:58:14.288877399 +0100
e99b60
@@ -2,7 +2,7 @@
e99b60
 
e99b60
 import urllib
e99b60
 import cv2.cv as cv
e99b60
-import Image
e99b60
+from PIL import Image
e99b60
 import unittest
e99b60
 
e99b60
 class TestLoadImage(unittest.TestCase):