X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FUpdate.py;h=d36ea367a84d9a12e24b9c821b15d9135fab169c;hb=0cf0d31c313a366e3f272f830bdb4f2a7308e11f;hp=de9dbb00327bc07d5fdb6d6038bee536c3180eb8;hpb=d37a67a92c0aa83793efbdd09cdd2f330cde8cd8;p=sfa.git diff --git a/sfa/methods/Update.py b/sfa/methods/Update.py index de9dbb00..d36ea367 100644 --- a/sfa/methods/Update.py +++ b/sfa/methods/Update.py @@ -5,7 +5,6 @@ import time from sfa.util.faults import * from sfa.util.method import Method from sfa.util.parameter import Parameter, Mixed -from sfa.util.debug import log from sfa.trust.credential import Credential class Update(Method): @@ -23,10 +22,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")