Rev 5262: Merge http-leaks into sftp-leaks in file:///home/vila/src/bzr/experimental/leaking-tests/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Jun 11 08:16:56 BST 2010
At file:///home/vila/src/bzr/experimental/leaking-tests/
------------------------------------------------------------
revno: 5262 [merge]
revision-id: v.ladeuil+lp at free.fr-20100611071656-aw3twg1qq9q7e1gw
parent: v.ladeuil+lp at free.fr-20100611065537-i92yz32myy2jdppp
parent: v.ladeuil+lp at free.fr-20100611071656-3dh1iuzt7t8a4j41
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: sftp-leaks
timestamp: Fri 2010-06-11 09:16:56 +0200
message:
Merge http-leaks into sftp-leaks
modified:
bzrlib/osutils.py osutils.py-20050309040759-eeaff12fbf77ac86
-------------- next part --------------
=== modified file 'bzrlib/osutils.py'
--- a/bzrlib/osutils.py 2010-06-11 06:55:27 +0000
+++ b/bzrlib/osutils.py 2010-06-11 07:16:51 +0000
@@ -2046,7 +2046,7 @@
sock.connect(sa)
return sock
- except exc_class, err:
+ except socket.error, err:
# 'err' is now the most recent error
if sock is not None:
sock.close()
More information about the bazaar-commits
mailing list