X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Fbcmagic%2Fplugin.py;h=22cd1ed70b9e8834ce9a64347459311d0112c197;hp=d701cf383d3bd91b12d5ade1db3e8beb55629015;hb=refs%2Fheads%2Fpython3-django1.5;hpb=4262586d10cc0cc227390873b301b55244204c11 diff --git a/htsworkflow/frontend/bcmagic/plugin.py b/htsworkflow/frontend/bcmagic/plugin.py index d701cf3..22cd1ed 100644 --- a/htsworkflow/frontend/bcmagic/plugin.py +++ b/htsworkflow/frontend/bcmagic/plugin.py @@ -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