X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2Fmodel%2Fsketcher%2F__init__.py;h=8c0319a1ecab2b26d8bd563a03aface7855dc7c8;hb=7074394f8f08413d885f63be01df6bd5007b868c;hp=9231f5d32d2bdf16520e76494d2f734a8723da2d;hpb=5b6031b015602aa07f5a6fc668c13ac3faf7a8a9;p=modules%2Fshaper.git diff --git a/src/PythonAPI/model/sketcher/__init__.py b/src/PythonAPI/model/sketcher/__init__.py index 9231f5d32..8c0319a1e 100644 --- a/src/PythonAPI/model/sketcher/__init__.py +++ b/src/PythonAPI/model/sketcher/__init__.py @@ -1,16 +1,6 @@ """Package for Sketch plugin for the Parametric Geometry API of the Modeler. """ -# DEBIAN 6.0 WORKAROUND START -""" - Following code is used to support Debian 6.0. - It is kept, because SketchPlugin should be loaded before SketchAPI is first used. - Otherwise, the runtime error will be generated while some static inline methods are broken. -""" -from ModelAPI import ModelAPI_Session -aSession = ModelAPI_Session.get() -aSession.forceLoadPlugin("SketchPlugin") -# DEBIAN 6.0 WORKAROUND FINISH - from SketchAPI import addSketch -from tools import addPolyline, addPolygon +from tools import * +from tests import *