From adf8545c930b9eded15c6f640edcb695f9b1b694 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 13 Dec 2012 12:37:06 +0000 Subject: [PATCH] Merge from V6_main 13/12/2012 --- src/PYCALCULATOR/PYCALCULATOR.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PYCALCULATOR/PYCALCULATOR.py b/src/PYCALCULATOR/PYCALCULATOR.py index 06c530d..50e6373 100755 --- a/src/PYCALCULATOR/PYCALCULATOR.py +++ b/src/PYCALCULATOR/PYCALCULATOR.py @@ -46,6 +46,10 @@ class PYCALCULATOR (PYCALCULATOR_ORB__POA.PYCALCULATOR_Gen, SALOME_ComponentPy.S self._naming_service=SALOME_ComponentPy.SALOME_NamingServicePy_i(self._orb) print "End of PYCALCULATOR::__init__" + def getVersion( self ): + import salome_version + return salome_version.getVersion("PYCALCULATOR", True) + def Add(self, field1, field2): print "Begin of PYCALCULATOR::Add" print "pointeur on first argument : ",field1 -- 2.39.2