Salome HOME
projects
/
samples
/
pyhello.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94039e1
)
0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the...
V6_6_0a1
V6_6_0b1
author
vsr
<vsr@opencascade.com>
Tue, 16 Oct 2012 08:36:58 +0000
(08:36 +0000)
committer
vsr
<vsr@opencascade.com>
Tue, 16 Oct 2012 08:36:58 +0000
(08:36 +0000)
src/PYHELLO/PYHELLO.py
patch
|
blob
|
history
diff --git
a/src/PYHELLO/PYHELLO.py
b/src/PYHELLO/PYHELLO.py
index 07d16ca8f53fd50510c02eee9b8eddf31f92a76f..0b8c81c549383a97f155b761cc26b324924c98d4 100644
(file)
--- a/
src/PYHELLO/PYHELLO.py
+++ b/
src/PYHELLO/PYHELLO.py
@@
-51,6
+51,13
@@
class PYHELLO(PYHELLO_ORB__POA.PYHELLO_Gen,
#
pass
+ """
+ Get version information.
+ """
+ def getVersion( self ):
+ import salome_version
+ return salome_version.getVersion("PYHELLO", True)
+
"""
Generate hello banner.
"""