Skip to content

Commit

Permalink
Merge pull request joaojacome#8 from scottwallacesh/master
Browse files Browse the repository at this point in the history
Fix a typo to resolve joaojacome#6
  • Loading branch information
joaojacome authored May 10, 2021
2 parents 00ae7ec + 506a555 commit aa36e5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bw_add_sshkeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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, [
Expand Down

0 comments on commit aa36e5c

Please sign in to comment.