Commit d7083e04 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

modify import path of PIL.Image for pillow.

parent 92e60787
import Image as PIL_Image import PIL.Image as PIL_Image
import os import os
import transaction import transaction
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
......
...@@ -17,14 +17,13 @@ ...@@ -17,14 +17,13 @@
############################################################################## ##############################################################################
import os, sys, shutil, tempfile import os, sys, shutil, tempfile
import Image
from cStringIO import StringIO from cStringIO import StringIO
from zLOG import LOG,ERROR,INFO,WARNING from zLOG import LOG,ERROR,INFO,WARNING
from OFS.Image import File, Image from OFS.Image import File, Image
import os, transaction import os, transaction
from AccessControl import getSecurityManager, ClassSecurityInfo from AccessControl import getSecurityManager, ClassSecurityInfo
from Globals import package_home from Globals import package_home
import Image as PIL_Image import PIL.Image as PIL_Image
import thread import thread
import random import random
import base64 import base64
......
17 18
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment