Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR: force the transformation of message argument into string
[modules/kernel.git]
/
src
/
Utils
/
SALOME_utilities.py
diff --git
a/src/Utils/SALOME_utilities.py
b/src/Utils/SALOME_utilities.py
index 0911df2d8a845d4d12952ae119e1ce399aa39704..f21c174575e6caa760529ecb007cc2cbd5cac3cf 100644
(file)
--- a/
src/Utils/SALOME_utilities.py
+++ b/
src/Utils/SALOME_utilities.py
@@
-15,20
+15,20
@@
def REPERE():
def BEGIN_OF(msg):
if __debug__:
REPERE(); MYTRACE();
def BEGIN_OF(msg):
if __debug__:
REPERE(); MYTRACE();
- GLogger.putMessage("Begin of : "+
msg
+ "\n")
+ GLogger.putMessage("Begin of : "+
str(msg)
+ "\n")
REPERE();
def END_OF(msg):
if __debug__:
REPERE(); MYTRACE();
REPERE();
def END_OF(msg):
if __debug__:
REPERE(); MYTRACE();
- GLogger.putMessage("Normale end of : "+
msg
+ "\n")
+ GLogger.putMessage("Normale end of : "+
str(msg)
+ "\n")
REPERE();
def MESSAGE(msg):
if __debug__:
MYTRACE()
REPERE();
def MESSAGE(msg):
if __debug__:
MYTRACE()
- GLogger.putMessage(
msg
+ "\n")
+ GLogger.putMessage(
str(msg)
+ "\n")
def SCRUTE(var_name, var_value):
MYTRACE();
def SCRUTE(var_name, var_value):
MYTRACE();