Initial port to python3
[htsworkflow.git] / htsworkflow / frontend / bcmagic / plugin.py
index d701cf383d3bd91b12d5ade1db3e8beb55629015..22cd1ed70b9e8834ce9a64347459311d0112c197 100644 (file)
@@ -28,7 +28,7 @@ def register_search_plugin(label, search_function):
     
     if label in _SEARCH_FUNCTIONS:
         msg = "search function for label (%s) already registered." % (label)
-        raise ValueError, msg
+        raise ValueError(msg)
     
     _SEARCH_FUNCTIONS[label] = search_function
     
\ No newline at end of file