X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fmethod.py;h=473bcd17f8d54a332028ea24702142b3ee21d641;hb=83b8ce6c9f0e9398e016158f5dccefa54ac6fdcc;hp=1df1245789f7e27fa5c83dba91c02c035f715762;hpb=a599a7b8035827ad83393e97c7dfdee32a99c30e;p=sfa.git diff --git a/sfa/util/method.py b/sfa/util/method.py index 1df12457..473bcd17 100644 --- 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"):