Skip to content

Commit

Permalink
Merge branch '1.10'
Browse files Browse the repository at this point in the history
Conflicts:
	NEWS
  • Loading branch information
bitprophet committed Apr 5, 2013
2 parents 73a0d03 + 02d071b commit b329512
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
8 changes: 6 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ v1.11.0 (DD MM YYYY)
implementations of all functionality. Thanks to Jason R. Coombs for the
patch.

v1.10.1 (DD MM YYYY)
--------------------
v1.10.1 (5th Apr 2013)
----------------------

* #142: (Fabric #811) SFTP put of empty file will still return the attributes
of the put file. Thanks to Jason R. Coombs for the patch.
* #154: (Fabric #876) Forwarded SSH agent connections left stale local pipes
lying around, which could cause local (and sometimes remote or network)
resource starvation when running many agent-using remote commands. Thanks to
Kevin Tegtmeier for catch & patch.

v1.10.0 (1st Mar 2013)
--------------------
Expand Down
2 changes: 1 addition & 1 deletion paramiko/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@


__author__ = "Jeff Forcier <[email protected]>"
__version__ = "1.10.0"
__version__ = "1.10.1"
__license__ = "GNU Lesser General Public License (LGPL)"


Expand Down
7 changes: 7 additions & 0 deletions paramiko/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,22 @@ def _communicate(self):
if len(data) != 0:
self.__inr.send(data)
else:
self._close()
break
elif self.__inr == fd:
data = self.__inr.recv(512)
if len(data) != 0:
self._agent._conn.send(data)
else:
self._close()
break
time.sleep(io_sleep)

def _close(self):
self._exit = True
self.__inr.close()
self._agent._conn.close()

class AgentLocalProxy(AgentProxyThread):
"""
Class to be used when wanting to ask a local SSH Agent being
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@


setup(name = "paramiko",
version = "1.10.0",
version = "1.10.1",
description = "SSH2 protocol library",
author = "Jeff Forcier",
author_email = "[email protected]",
Expand Down

0 comments on commit b329512

Please sign in to comment.