Rev 5294: Explain why we left some code commented: useful in rare debug cases. in file:///home/vila/src/bzr/experimental/leaking-tests/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Wed Jun 30 17:36:04 BST 2010
At file:///home/vila/src/bzr/experimental/leaking-tests/
------------------------------------------------------------
revno: 5294
revision-id: v.ladeuil+lp at free.fr-20100630163604-e1bi8wwev1ao6om7
parent: v.ladeuil+lp at free.fr-20100630162401-3kfkoejtw10y4i2f
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: http-leaks
timestamp: Wed 2010-06-30 18:36:04 +0200
message:
Explain why we left some code commented: useful in rare debug cases.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_server.py'
--- a/bzrlib/tests/test_server.py 2010-06-30 16:24:01 +0000
+++ b/bzrlib/tests/test_server.py 2010-06-30 16:36:04 +0000
@@ -406,7 +406,11 @@
def handle_error(self, request, client_address):
# Stop serving and re-raise the last exception seen
self.serving = False
-# self.sibling_class.handle_error(self, request, client_address)
+ # The following can be used for debugging purposes, it will display the
+ # exception and the traceback just when it occurs instead of waiting
+ # for the thread to be joined.
+
+ # SocketServer.BaseServer.handle_error(self, request, client_address)
raise
def ignored_exceptions_during_shutdown(self, e):
More information about the bazaar-commits
mailing list