Salome HOME
PR: force the transformation of message argument into string
[modules/kernel.git] / src / Utils / SALOME_utilities.py
index 0911df2d8a845d4d12952ae119e1ce399aa39704..f21c174575e6caa760529ecb007cc2cbd5cac3cf 100644 (file)
@@ -15,20 +15,20 @@ def REPERE():
 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();
-        GLogger.putMessage("Normale end of : "+ msg + "\n")
+        GLogger.putMessage("Normale end of : "+ str(msg) + "\n")
         REPERE();
 
 def MESSAGE(msg):
     if __debug__:
         MYTRACE()
-        GLogger.putMessage(msg + "\n")
+        GLogger.putMessage(str(msg) + "\n")
 
 def SCRUTE(var_name, var_value):
     MYTRACE();