Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #15 from jmathes/master

Fix case where paramiko doesn't find any ssh keys
  • Loading branch information...
commit 7da57d0fc5bb0c2c493a014fab2ceec6dced5fad 2 parents 5d92fa5 + 0e41f1b
Eric Allen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dripbox.py
2  dripbox.py
View
@@ -109,7 +109,7 @@ def launch(username_p, host_p, remote_path, port_p=None):
def get_ssh_key():
agent = paramiko.Agent()
- if agent.keys:
+ if hasattr(agent, 'keys') and agent.keys:
# TODO: support having more than one key loaded
if len(agent.keys) > 1:
print ("You have more than one key in your SSH Agent"
Please sign in to comment.
Something went wrong with that request. Please try again.