Salome HOME
feat(all): replace all usage of bare except clause with except Exception clause
[tools/sat.git] / src / ElementTree.py
index b871200f6461694aa6ff92d2fa83ab6bf8576130..65c63c9fe65f979be6b91a8d9121b460f22c14dd 100644 (file)
@@ -30,7 +30,7 @@ else:
     """
     try:
       aStr = etree.tostring(node, encoding='unicode', method="pretty_xml")
-    except:
+    except Exception:
       print("*****************************\n problem node", node)
       # try no pretty
       aStr = etree.tostring(node, encoding='unicode')