Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't throw an exception when hostname is None #11

Open
mwilson-ns opened this issue Sep 30, 2015 · 0 comments
Open

Don't throw an exception when hostname is None #11

mwilson-ns opened this issue Sep 30, 2015 · 0 comments

Comments

@mwilson-ns
Copy link

$ lsi -c 'ps aux | grep harvest' 
...

Enter command (h for help, q to quit): x

Running command `ps aux | grep harvest` on 415 matching hosts
Traceback (most recent call last):
  File "/home/mwilson/.pyenv/versions/2.7.3/bin/lsi", line 9, in <module>
    load_entry_point('lsi==0.1.2', 'console_scripts', 'lsi')()
  File "/home/mwilson/.pyenv/versions/2.7.3/lib/python2.7/site-packages/lsi/lsi.py", line 607, in main
    args.only, args.sort_by, args.limit)
  File "/home/mwilson/.pyenv/versions/2.7.3/lib/python2.7/site-packages/lsi/lsi.py", line 253, in _run_ssh
    return _run_ssh_command(entries, username, idfile, command)
  File "/home/mwilson/.pyenv/versions/2.7.3/lib/python2.7/site-packages/lsi/lsi.py", line 487, in _run_ssh_command
    cmd = _build_ssh_command(hname, username, idfile, command)
  File "/home/mwilson/.pyenv/versions/2.7.3/lib/python2.7/site-packages/lsi/lsi.py", line 334, in _build_ssh_command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant