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:
e3578cb
)
Re-activate and fix command "trusted" in sfi.py
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Tue, 8 Oct 2013 12:38:58 +0000
(14:38 +0200)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Tue, 8 Oct 2013 12:38:58 +0000
(14:38 +0200)
sfa/client/sfi.py
patch
|
blob
|
history
diff --git
a/sfa/client/sfi.py
b/sfa/client/sfi.py
index
a653885
..
5570f77
100644
(file)
--- a/
sfa/client/sfi.py
+++ b/
sfa/client/sfi.py
@@
-1599,8
+1599,7
@@
$ sfi m
if count_success != count_all: sys.exit(1)
return
-# Thierry: I'm turning this off as a command, no idea what it's used for
-# @register_command("cred","")
+ @register_command("cred","")
def trusted(self, options, args):
"""
return the trusted certs at this interface (get_trusted_certs)
@@
-1611,5
+1610,6
@@
$ sfi m
gid.dump()
cert = Certificate(string=trusted_cert)
self.logger.debug('Sfi.trusted -> %r'%cert.get_subject())
+ print "Certificate:\n%s\n\n"%trusted_cert
return