applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / data / processing / ping / parser.py
index b51f37f..d531118 100644 (file)
@@ -106,7 +106,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():