a first very rough step towards python3
[nepi.git] / src / nepi / data / processing / ping / parser.py
index b8132e5..b2b9a94 100644 (file)
@@ -108,7 +108,7 @@ def annotate_cn_graph(logs_dir, graph):
 
     if not found_files:
         msg = "No PING output files were found to parse at %s " % logs_dir 
-        raise RuntimeError, msg
+        raise RuntimeError(msg)
 
     # Take as weight the most frequent value
     for nid1, nid2 in graph.edges():