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
sfaadmin reg import writes on stdout if DEBUG is set
[sfa.git]
/
sfa
/
methods
/
ResolveGENI.py
diff --git
a/sfa/methods/ResolveGENI.py
b/sfa/methods/ResolveGENI.py
index
7c9cc14
..
5e6eac6
100644
(file)
--- a/
sfa/methods/ResolveGENI.py
+++ b/
sfa/methods/ResolveGENI.py
@@
-1,5
+1,7
@@
from sfa.util.method import Method
from sfa.util.method import Method
-from sfa.util.parameter import Parameter
+
+from sfa.storage.parameter import Parameter
+
class ResolveGENI(Method):
"""
class ResolveGENI(Method):
"""
@@
-11,7
+13,7
@@
class ResolveGENI(Method):
accepts = [
Parameter(str, "URN"),
Parameter(type([str]), "List of credentials"),
accepts = [
Parameter(str, "URN"),
Parameter(type([str]), "List of credentials"),
-
]
+ ]
returns = Parameter(bool, "Success or Failure")
def call(self, xrn):
returns = Parameter(bool, "Success or Failure")
def call(self, xrn):