projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e58da
)
create exception using modern python syntax
author
Diane Trout
<diane@ghic.org>
Thu, 24 Jul 2014 21:03:07 +0000
(14:03 -0700)
committer
Diane Trout
<diane@ghic.org>
Thu, 24 Jul 2014 21:03:07 +0000
(14:03 -0700)
bcmagic/plugin.py
patch
|
blob
|
history
diff --git
a/bcmagic/plugin.py
b/bcmagic/plugin.py
index 8b03080bc53313aa7e58da686a3310b9c33bc757..0ea85ad3ae15a9b1661c29ae306613b04d578ac4 100644
(file)
--- a/
bcmagic/plugin.py
+++ b/
bcmagic/plugin.py
@@
-26,7
+26,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