[FIX]:AccessInit: hash collision error possible
lp bug: https://launchpad.net/bugs/859123 fixed bzr revid: nch@tinyerp.com-20111114064805-wkw8q4w0nj5h1dtd
This commit is contained in:
committed by
Naresh (OpenERP)
parent
cd349602a7
commit
58bb4fadad
@@ -26,7 +26,7 @@ from render import render
|
||||
#.apidoc title: Report Rendering
|
||||
|
||||
try:
|
||||
import Image
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
import logging
|
||||
logging.warning('Python Imaging not installed, you can use only .JPG pictures !')
|
||||
|
||||
@@ -759,8 +759,8 @@ if __name__=='__main__':
|
||||
g.process(starting_node)
|
||||
g.scale(radius*3,radius*3, radius, radius)
|
||||
|
||||
import Image
|
||||
import ImageDraw
|
||||
from PIL import Image
|
||||
from PIL import ImageDraw
|
||||
img = Image.new("RGB", (800, 600), "#ffffff")
|
||||
draw = ImageDraw.Draw(img)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user