From: Thierry Parmentelat Date: Fri, 9 Dec 2011 11:24:55 +0000 (+0100) Subject: cosmetic X-Git-Tag: sfa-2.0-3~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=54eb4f50ded13f4d1aa52c9eea0ba32386c641a5;p=sfa.git cosmetic --- diff --git a/sfa/util/method.py b/sfa/util/method.py index 4bfeb9bb..fc2ebaac 100644 --- a/sfa/util/method.py +++ b/sfa/util/method.py @@ -245,8 +245,7 @@ class Method: elif not isinstance(value, expected_type): raise SfaInvalidArgument("expected %s, got %s" % \ - (xmlrpc_type(expected_type), - xmlrpc_type(type(value))), + (xmlrpc_type(expected_type), xmlrpc_type(type(value))), name) # If a minimum or maximum (length, value) has been specified