Convert old style except blocks to except Exception as variable: blocks
[htsworkflow.git] / htsworkflow / pipelines / runfolder.py
index 669c5f03363dfc8c647730133af71678319d0336..dfc75f4b0f44492338458df766a6f6c4039fe301 100644 (file)
@@ -336,7 +336,7 @@ def build_gerald_runs(runs, b, image_analysis, bustard_pathname, datadir, pathna
             p.bustard = b
             p.gerald = g
             runs.append(p)
-        except IOError, e:
+        except IOError as e:
             LOGGER.error("Ignoring " + str(e))
     return len(runs) - start