Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix small bug when no key given to client

  • Loading branch information...
commit 5bb27f6942aac551a99fcf23d131ae6af51e59b3 1 parent cde7916
@fperez fperez authored minrk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/zmq/parallel/client.py
View
2  IPython/zmq/parallel/client.py
@@ -231,7 +231,7 @@ def __init__(self, addr='tcp://127.0.0.1:10101', context=None, username=None, de
password = getpass("SSH Password for %s: "%sshserver)
ssh_kwargs = dict(keyfile=sshkey, password=password, paramiko=paramiko)
- if os.path.isfile(exec_key):
+ if exec_key is not None and os.path.isfile(exec_key):
arg = 'keyfile'
else:
arg = 'key'
Please sign in to comment.
Something went wrong with that request. Please try again.