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
Generalize credentials argument
[sfa.git]
/
sfa
/
methods
/
Describe.py
diff --git
a/sfa/methods/Describe.py
b/sfa/methods/Describe.py
index
b261512
..
ff3765d
100644
(file)
--- a/
sfa/methods/Describe.py
+++ b/
sfa/methods/Describe.py
@@
-43,7
+43,7
@@
class Describe(Method):
# get hrn of the original caller
origin_hrn = options.get('origin_hrn', None)
if not origin_hrn:
# get hrn of the original caller
origin_hrn = options.get('origin_hrn', None)
if not origin_hrn:
- origin_hrn = Credential(
string
=valid_creds[0]).get_gid_caller().get_hrn()
+ origin_hrn = Credential(
cred
=valid_creds[0]).get_gid_caller().get_hrn()
desc = self.api.manager.Describe(self.api, creds, urns, options)
# filter rspec through sfatables
desc = self.api.manager.Describe(self.api, creds, urns, options)
# filter rspec through sfatables