~camptocamp/openobject-server/trunk-bug-890217-import-name-search-domain

« back to all changes in this revision

Viewing changes to openerp/tools/graph.py

[MERGE] long import syntax for PIL modules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
759
759
    g.process(starting_node)
760
760
    g.scale(radius*3,radius*3, radius, radius)
761
761
 
762
 
    import Image
763
 
    import ImageDraw
 
762
    from PIL import Image
 
763
    from PIL import ImageDraw
764
764
    img = Image.new("RGB", (800, 600), "#ffffff")
765
765
    draw = ImageDraw.Draw(img)
766
766