From 60cbdbc69845a65a5994cd1730e7caf23530e2cd Mon Sep 17 00:00:00 2001 From: Mohamed Larabi Date: Tue, 8 Oct 2013 14:38:58 +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 a653885c..5570f77f 100644 --- 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 -- 2.43.0