git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a599a7b
)
fix bug when raising InvalidMethod exception
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 30 Jul 2010 20:42:56 +0000
(20:42 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 30 Jul 2010 20:42:56 +0000
(20:42 +0000)
sfa/util/method.py
patch
|
blob
|
history
diff --git
a/sfa/util/method.py
b/sfa/util/method.py
index
1df1245
..
473bcd1
100644
(file)
--- a/
sfa/util/method.py
+++ b/
sfa/util/method.py
@@
-74,7
+74,7
@@
class Method (object):
start = time.time()
methodname = self.name
if not self.api.interface or self.api.interface not in self.interfaces:
- raise SfaInvalidAPIMethod
, methodname, self.api.interface
+ raise SfaInvalidAPIMethod
(methodname, self.api.interface)
# legacy code cannot be type-checked, due to the way Method.args() works
if not hasattr(self,"skip_typecheck"):