Convert old style except blocks to except Exception as variable: blocks
[htsworkflow.git] / htsworkflow / pipelines / genome_mapper.py
index fb16d7ffc60ed70ce11c10b4a204316de9e3f37e..35830a2dc0a615f917a0a4dac2c3f9b1ea962874 100644 (file)
@@ -103,7 +103,7 @@ class constructMapperDict(object):
     def get(self, key, default=None):
       try:
         return self[key]
-      except KeyError, e:
+      except KeyError as e:
         return default
 
     def keys(self):