From 6c7a0ade7e59f90e3a32fb72779362188ba54ca2 Mon Sep 17 00:00:00 2001 From: Mohamed Larabi Date: Tue, 8 Oct 2013 14:37:41 +0200 Subject: [PATCH] Re-activate and fix command "trusted" in sfi.py --- sfa/client/sfi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/client/sfi.py b/sfa/client/sfi.py index 1ac29a23..14122e15 100644 --- a/sfa/client/sfi.py +++ b/sfa/client/sfi.py @@ -1591,8 +1591,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) @@ -1603,5 +1602,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 -- 2.43.0