Salome HOME
IMP SWP12334
[modules/kernel.git] / src / Utils / SALOME_utilities.py
index 0911df2d8a845d4d12952ae119e1ce399aa39704..bf18aaf700c2698c17d313f21631b72058ec9600 100644 (file)
@@ -1,3 +1,12 @@
+#  SALOME Utils : general SALOME's definitions and tools
+#
+#  Copyright (C) 2003  CEA/DEN, EDF R&D
+#
+#
+#
+#  File   : SALOME_utilities.py
+#  Module : SALOME
+
 import SALOME_Trace
 GLogger = SALOME_Trace.SALOME_Trace()
 
@@ -15,20 +24,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();