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
addressing some of the remaining occurrences of SfaRecord
[sfa.git]
/
sfa
/
methods
/
List.py
diff --git
a/sfa/methods/List.py
b/sfa/methods/List.py
index
bbd3e47
..
c023fa0
100644
(file)
--- a/
sfa/methods/List.py
+++ b/
sfa/methods/List.py
@@
-5,7
+5,6
@@
from sfa.util.method import Method
from sfa.trust.credential import Credential
from sfa.storage.parameter import Parameter, Mixed
from sfa.trust.credential import Credential
from sfa.storage.parameter import Parameter, Mixed
-from sfa.storage.record import SfaRecord
class List(Method):
"""
class List(Method):
"""
@@
-23,7
+22,8
@@
class List(Method):
Parameter(type([str]), "List of credentials")),
]
Parameter(type([str]), "List of credentials")),
]
- returns = [SfaRecord]
+ # xxx used to be [SfaRecord]
+ returns = [Parameter(dict, "registry record")]
def call(self, xrn, creds):
hrn, type = urn_to_hrn(xrn)
def call(self, xrn, creds):
hrn, type = urn_to_hrn(xrn)