Rev 5282: Hopefully, the right fix this time. in file:///home/vila/src/bzr/experimental/leaking-tests/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Jun 11 08:16:51 BST 2010
At file:///home/vila/src/bzr/experimental/leaking-tests/
------------------------------------------------------------
revno: 5282
revision-id: v.ladeuil+lp at free.fr-20100611071651-sccfqgxrcnwu0udq
parent: v.ladeuil+lp at free.fr-20100611065527-hwjjsq7v3b56bcpw
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: propagate-exceptions
timestamp: Fri 2010-06-11 09:16:51 +0200
message:
Hopefully, the right fix this time.
-------------- 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