From: Christian Van Wambeke Date: Fri, 29 Jun 2018 06:45:51 +0000 (+0200) Subject: fix inexisting handler.get_name() python 2.6 X-Git-Tag: 5.1.0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d3bfbcb0a2f11e145bbcefb4aa17db5af90d8713;p=tools%2Fsat.git fix inexisting handler.get_name() python 2.6 --- diff --git a/src/loggingSimple.py b/src/loggingSimple.py index 617ba7e..177b342 100755 --- a/src/loggingSimple.py +++ b/src/loggingSimple.py @@ -117,7 +117,8 @@ def getStrHandler(handler): h = handler # shortcut msg = "%s(name=%s)" cName = h.__class__.__name__ - res = msg % (cName, h.get_name()) + # get_name absent in logging 0.5.0.5 python 2.6 + res = msg % (cName, h._name) return res