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:
8112013
)
fix typo
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 6 Apr 2010 19:28:54 +0000
(19:28 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 6 Apr 2010 19:28:54 +0000
(19:28 +0000)
sfa/methods/get_trusted_certs.py
patch
|
blob
|
history
diff --git
a/sfa/methods/get_trusted_certs.py
b/sfa/methods/get_trusted_certs.py
index
41563a2
..
334734b
100644
(file)
--- a/
sfa/methods/get_trusted_certs.py
+++ b/
sfa/methods/get_trusted_certs.py
@@
-26,11
+26,12
@@
class get_trusted_certs(Method):
# If cred is not specified just return the gid for this interface.
# This is true when when a peer is attempting to initiate federation
# with this interface
+ print cred
if not cred:
gid_strings = []
for gid in self.api.auth.trusted_cert_list:
if gid.get_hrn() == self.api.config.SFA_INTERFACE_HRN:
- gid_strings.append
[gid.save_to_string(save_parents=True)]
+ gid_strings.append
(gid.save_to_string(save_parents=True))
return gid_strings
# authenticate the cred