From: Tony Mack Date: Mon, 9 Aug 2010 18:37:07 +0000 (+0000) Subject: fix order of expected arguemnts X-Git-Tag: sfa-1.0-0~53 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=dd5639977dced0858cfa209dfc0bd129f1de0d83;p=sfa.git fix order of expected arguemnts --- diff --git a/sfa/methods/Update.py b/sfa/methods/Update.py index de9dbb00..3b8b55a2 100644 --- a/sfa/methods/Update.py +++ b/sfa/methods/Update.py @@ -23,10 +23,8 @@ class Update(Method): interfaces = ['registry'] accepts = [ - Parameter(str, "Credential string"), Parameter(dict, "Record dictionary to be updated"), - Mixed(Parameter(str, "Human readable name of the original caller"), - Parameter(None, "Origin hrn not specified")) + Parameter(str, "Credential string"), ] returns = Parameter(int, "1 if successful")