Salome HOME
projects
/
samples
/
pycalculator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e15248
)
Merge from V6_main 13/12/2012
BR_KERNEL_REFACTORING
V7_siman
V7_1_0_pre
V7_1_0b1
author
vsr
<vsr@opencascade.com>
Thu, 13 Dec 2012 12:37:06 +0000
(12:37 +0000)
committer
vsr
<vsr@opencascade.com>
Thu, 13 Dec 2012 12:37:06 +0000
(12:37 +0000)
src/PYCALCULATOR/PYCALCULATOR.py
patch
|
blob
|
history
diff --git
a/src/PYCALCULATOR/PYCALCULATOR.py
b/src/PYCALCULATOR/PYCALCULATOR.py
index 06c530d35ce2c83f6817be8df03357253bffee74..50e6373373599c399ec6f99929e52daf49ba15af 100755
(executable)
--- 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