Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CCAR: mise a jour proc distrib
[tools/eficas.git]
/
Extensions
/
commentaire.py
diff --git
a/Extensions/commentaire.py
b/Extensions/commentaire.py
index db79f3f783842735f1dd83fd2f0d0cb811f06ef8..993fda4331b8e6c84e2a19ace6fe877411514b45 100644
(file)
--- a/
Extensions/commentaire.py
+++ b/
Extensions/commentaire.py
@@
-173,3
+173,9
@@
class COMMENTAIRE :
def verif_existence_sd(self):
pass
+ def get_fr(self):
+ """
+ Retourne le commentaire lui meme tronque a la 1ere ligne
+ """
+ return self.valeur.split('\n',1)[0]
+