From 9e6709319b71780b561046d5162271fdaa940cd6 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Sat, 24 Oct 2009 03:22:59 +0000 Subject: [PATCH] remove debugging output --- sfa/trust/certificate.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sfa/trust/certificate.py b/sfa/trust/certificate.py index 54d98eb1..b34e5cde 100644 --- a/sfa/trust/certificate.py +++ b/sfa/trust/certificate.py @@ -33,7 +33,6 @@ def convert_public_key(key): # we can only convert rsa keys if "ssh-dss" in key: - print "XXX: DSA key encountered, ignoring" return None (ssh_f, ssh_fn) = tempfile.mkstemp() @@ -43,19 +42,17 @@ def convert_public_key(key): cmd = keyconvert_path + " " + ssh_fn + " " + ssl_fn os.system(cmd) - + # this check leaves the temporary file containing the public key so # that it can be expected to see why it failed. # TODO: for production, cleanup the temporary files if not os.path.exists(ssl_fn): - report.trace(" failed to convert key from " + ssh_fn + " to " + ssl_fn) return None - + k = Keypair() try: k.load_pubkey_from_file(ssl_fn) except: - print "XXX: Error while converting key: ", key traceback.print_exc() k = None -- 2.47.0