From: nri Date: Thu, 10 Jul 2003 18:53:54 +0000 (+0000) Subject: NRI : Merge from V1_2. X-Git-Tag: V1_4_0~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ecb85396d829d89ecd55666a660469e19e5420f2;p=modules%2Fkernel.git NRI : Merge from V1_2. --- diff --git a/src/Utils/utilities.py b/src/Utils/utilities.py deleted file mode 100644 index 9c2093540..000000000 --- a/src/Utils/utilities.py +++ /dev/null @@ -1,46 +0,0 @@ -# SALOME Utils : general SALOME's definitions and tools -# -# Copyright (C) 2003 CEA/DEN, EDF R&D -# -# -# -# File : utilities.py -# Module : SALOME - -import SALOME_Trace -GLogger = SALOME_Trace.SALOME_Trace() - -def MYTRACE (): - if __debug__: - str = "- Trace " - GLogger.putMessage(str + " : ") - - -def REPERE(): - if __debug__: - GLogger.putMessage(" -------------- \n") - - -def BEGIN_OF(msg): - if __debug__: - REPERE(); MYTRACE(); - GLogger.putMessage("Begin of : "+ str(msg) + "\n") - REPERE(); - - -def END_OF(msg): - if __debug__: - REPERE(); MYTRACE(); - GLogger.putMessage("Normale end of : "+ str(msg) + "\n") - REPERE(); - -def MESSAGE(msg): - if __debug__: - MYTRACE() - GLogger.putMessage(str(msg) + "\n") - -def SCRUTE(var_name, var_value): - MYTRACE(); - GLogger.putMessage(var_name + " = " + str(var_value) + "\n") - -