git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a177bd7
)
fix AttributeError when loading credential of unknown format
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 4 Dec 2012 14:19:35 +0000
(09:19 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 4 Dec 2012 14:19:35 +0000
(09:19 -0500)
sfa/server/sfaapi.py
patch
|
blob
|
history
diff --git
a/sfa/server/sfaapi.py
b/sfa/server/sfaapi.py
index
ae54741
..
a0fc7f4
100644
(file)
--- a/
sfa/server/sfaapi.py
+++ b/
sfa/server/sfaapi.py
@@
-128,7
+128,7
@@
class SfaApi (XmlrpcApi):
delegated_cred = None
for cred in creds:
- if hierarchy.auth_exists(Credential(
string
=cred).get_gid_caller().get_hrn()):
+ if hierarchy.auth_exists(Credential(
cred
=cred).get_gid_caller().get_hrn()):
delegated_cred = cred
break
return delegated_cred