]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: force the transformation of message argument into string
authorprascle <prascle>
Thu, 5 Jun 2003 07:14:55 +0000 (07:14 +0000)
committerprascle <prascle>
Thu, 5 Jun 2003 07:14:55 +0000 (07:14 +0000)
src/Utils/SALOME_utilities.py
src/Utils/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();
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();