Convert old style except blocks to except Exception as variable: blocks
[htsworkflow.git] / htsworkflow / util / test / test_ethelp.py
index 379dd9e1e525e45bc81e414a60d21b07694d9333..5d982e8a29c200fe49b8393900a13bd600862c9f 100644 (file)
@@ -3,7 +3,7 @@ from unittest import TestCase
 
 try:
   from xml.etree import ElementTree
-except ImportError, e:
+except ImportError as e:
   from elementtree import ElementTree
 
 from htsworkflow.util.ethelp import indent, flatten