From 506a555c3969b29cc6763ef079aaea35ddcb197f Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 16 Jan 2021 10:26:30 +0000 Subject: [PATCH] Fix a typo to resolve #6 --- bw_add_sshkeys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bw_add_sshkeys.py b/bw_add_sshkeys.py index 26d06e9..e04bd08 100755 --- a/bw_add_sshkeys.py +++ b/bw_add_sshkeys.py @@ -210,7 +210,7 @@ def add_ssh_keys(session, items, keyname): logging.debug('Private key ID found') if not ssh_add(session, item['id'], private_key_id): - logging.warning('Could not add key to the SSD agent') + logging.warning('Could not add key to the SSH agent') def ssh_add(session, item_id, key_id): @@ -220,7 +220,7 @@ def ssh_add(session, item_id, key_id): logging.debug('Item ID: %s', item_id) logging.debug('Key ID: %s', key_id) - # TODO: avoid temporary files, if possible + # FIXME: avoid temporary files, if possible (StringIO ?) with tempfile.NamedTemporaryFile() as tmpfile: proc = subprocess.Popen( list(filter(None, [