git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* tried to put some sense in the way things get logged, at least on server-side for now
[sfa.git]
/
sfa
/
methods
/
Update.py
diff --git
a/sfa/methods/Update.py
b/sfa/methods/Update.py
index
de9dbb0
..
d36ea36
100644
(file)
--- 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.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):
from sfa.trust.credential import Credential
class Update(Method):
@@
-23,10
+22,8
@@
class Update(Method):
interfaces = ['registry']
accepts = [
interfaces = ['registry']
accepts = [
- Parameter(str, "Credential string"),
Parameter(dict, "Record dictionary to be updated"),
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")
]
returns = Parameter(int, "1 if successful")