Rev 5250: Fix typo and add some trace. in file:///home/vila/src/bzr/experimental/leaking-tests/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Tue May 25 13:47:13 BST 2010
At file:///home/vila/src/bzr/experimental/leaking-tests/
------------------------------------------------------------
revno: 5250
revision-id: v.ladeuil+lp at free.fr-20100525124713-f002xif3ecmu5d3q
parent: v.ladeuil+lp at free.fr-20100525073027-dt7gcqe90yellgxz
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: first-try
timestamp: Tue 2010-05-25 14:47:13 +0200
message:
Fix typo and add some trace.
-------------- next part --------------
=== modified file 'bzrlib/tests/http_server.py'
--- a/bzrlib/tests/http_server.py 2010-05-24 01:05:14 +0000
+++ b/bzrlib/tests/http_server.py 2010-05-25 12:47:13 +0000
@@ -471,6 +471,7 @@
# die, let's shutdown the socket if we can.
sock.shutdown(socket.SHUT_RDWR)
except (socket.error, select.error), e:
+ print 'exception in shutdown_client_socket: %r' % (e,)
if e[0] in (errno.EBADF, errno.ENOTCONN):
# Right, the socket is already down
pass
=== modified file 'bzrlib/tests/stub_sftp.py'
--- a/bzrlib/tests/stub_sftp.py 2010-05-14 09:34:16 +0000
+++ b/bzrlib/tests/stub_sftp.py 2010-05-25 12:47:13 +0000
@@ -527,7 +527,7 @@
raise
except Exception, e:
# This typically seems to happen during interpreter shutdown, so
- # most of the useful ways to report this error are won't work.
+ # most of the useful ways to report this error won't work.
# Writing the exception type, and then the text of the exception,
# seems to be the best we can do.
import sys
More information about the bazaar-commits
mailing list