Rev 5304: Fix typo: recv() on sockets, read() on files ; ) in file:///home/vila/src/bzr/cleanup/various/

Vincent Ladeuil v.ladeuil+lp at free.fr
Thu Jun 17 14:16:51 BST 2010


At file:///home/vila/src/bzr/cleanup/various/

------------------------------------------------------------
revno: 5304
revision-id: v.ladeuil+lp at free.fr-20100617131651-45ixc0umodfbw7ox
parent: pqm at pqm.ubuntu.com-20100617115213-prepapy1lnxdb2w2
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: various
timestamp: Thu 2010-06-17 15:16:51 +0200
message:
  Fix typo: recv() on sockets, read() on files ;)
-------------- next part --------------
=== modified file 'bzrlib/transport/ssh.py'
--- a/bzrlib/transport/ssh.py	2010-06-16 06:21:34 +0000
+++ b/bzrlib/transport/ssh.py	2010-06-17 13:16:51 +0000
@@ -701,7 +701,7 @@
 
     def recv(self, count):
         if self._sock is not None:
-            return self._sock.read(count)
+            return self._sock.recv(count)
         else:
             return os.read(self.proc.stdout.fileno(), count)
 



More information about the bazaar-commits mailing list