Attempting to forward agent w/o actual local agent raises TypeError #402
E.g. when running this integration test on Fabric where I stupidly neglected to set up an actual local agent first, we get:
Exception in thread Thread-2: Traceback (most recent call last): File "/opt/python/2.6.9/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/home/travis/virtualenv/python2.6.9/src/paramiko/paramiko/agent.py", line 114, in run self._communicate() File "/home/travis/virtualenv/python2.6.9/src/paramiko/paramiko/agent.py", line 124, in _communicate events = select([self._agent._conn, self.__inr], , , 0.5) TypeError: argument must be an int, or have a fileno() method.
This is the same as Fabric #642.
Presumably we can just check for the value being handed to the
The text was updated successfully, but these errors were encountered: