convert non-unit-tested module to use newer raise Exception(msg) syntax
[htsworkflow.git] / htsworkflow / pipelines / run_status.py
index 46e400726fd3342578c839c8772e65e509cdbc01..86a6d13cb2bac9e4355ebf7074dd516d97c79fdb 100644 (file)
@@ -80,7 +80,7 @@ def _p2f(pattern, lane, tile=None, cycle=None):
   # lane, and cycle provided (INVALID)
   if tile is None and cycle is not None:
     msg = "Handling of cycle without tile is not currently implemented."
-    raise ValueError, msg
+    raise ValueError(msg)
 
   # lane, tile, cycle provided
   elif cycle: