russellb/reviewtodo — pull request #2 by aaronorosen (2014-03-18 00:19:54+00:00)
Title: Set allow_agent=False on connect

Unless allow_agent is set to false connect raises:

Traceback (most recent call last):
File "/usr/local/bin/reviewtodo", line 10, in
sys.exit(main())
File "/home/arosen/reviewtodo/reviewtodo/main.py", line 161, in main
print_review_todo(options)
File "/home/arosen/reviewtodo/reviewtodo/main.py", line 74, in print_review_todo
options.server)
File "/home/arosen/reviewtodo/reviewtodo/main.py", line 41, in get_changes
allow_agent=True)
File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 342, in connect
self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 533, in _auth
raise saved_exception
paramiko.SSHException: No existing session