X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Examples%2Fpydoc1%2Fcomponents.py;h=6a8fc904024f003b192613af17898e4c9ae17f85;hb=6bcb9b0436b0a60d91ceafbcd0d3e0ccf4051764;hp=f56fd8fccdcd2fc6b8890e59bd1702dcc5434730;hpb=28500ca4c03aa389d4f1e58a01bf29968876cf1e;p=tools%2Fyacsgen.git diff --git a/Examples/pydoc1/components.py b/Examples/pydoc1/components.py index f56fd8f..6a8fc90 100644 --- a/Examples/pydoc1/components.py +++ b/Examples/pydoc1/components.py @@ -20,7 +20,7 @@ import os #import context from .. -execfile("../context.py") +exec(compile(open("../context.py").read(), "../context.py", 'exec')) from module_generator import *