Commit eeeada5c authored by Tatuya Kamada's avatar Tatuya Kamada Committed by Arnaud Fontaine

py2zope4: Fix a library import error tested on erp5_safeimage:testSafeImage

parent 0d91b6a5
...@@ -22,7 +22,10 @@ from zLOG import LOG,ERROR,INFO,WARNING ...@@ -22,7 +22,10 @@ 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 try:
from App.Common import package_home
except ImportError: # BBB Zope2
from Globals import package_home
import PIL.Image as PIL_Image import PIL.Image as PIL_Image
import thread import thread
import random import random
......
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