user.workflow.3ACC632C-5489-45C1-92AA-6FC07DC4B472 yossarian$ python -c 'import alfredssh; print alfredssh.complete("local");'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "alfredssh.py", line 137, in complete
fetch_known_hosts('~/.ssh/known_hosts'),
File "alfredssh.py", line 83, in fetch_known_hosts
results.update(line.split()[0].split(','))
IndexError: list index out of range
^^ First command - fwiw, my python version when running that command is 2.7.8. The /usr/bin version is 2.7.5 and gives me the same output.
user.workflow.3ACC632C-5489-45C1-92AA-6FC07DC4B472 yossarian$ python -c 'import alfredssh; print alfredssh.fetch_ssh_config("~/.ssh/config");'
([u'pianosa.sytes.net', u'pianosa.sytes.net/deluge', u'LiquidWeb', u'Pianosa/dreedle', u'DigitalOcean/palermo', u'DigitalOcean/napoli', u'Pianosa/crashplan'], '~/.ssh/ssh_config')
^^ Second command.