diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-12-07 22:49:32 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-12-07 22:49:32 -0500 |
commit | 50a3f19f1a0421419155cab099b63e3436a24c7f (patch) | |
tree | 3c24a05865f399bf20cbcfbed1b128059fa20a39 /indra/llcorehttp/tests | |
parent | 7b3ff5418e828fe077ce03bcfd866eede91467c0 (diff) |
DRTVWR-418: Overriding shutdown_request() wasn't the issue. Remove.
Diffstat (limited to 'indra/llcorehttp/tests')
-rwxr-xr-x | indra/llcorehttp/tests/test_llcorehttp_peer.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/indra/llcorehttp/tests/test_llcorehttp_peer.py b/indra/llcorehttp/tests/test_llcorehttp_peer.py index b2af8a6c9c..493143641b 100755 --- a/indra/llcorehttp/tests/test_llcorehttp_peer.py +++ b/indra/llcorehttp/tests/test_llcorehttp_peer.py @@ -283,16 +283,10 @@ class Server(HTTPServer): # default behavior which *shouldn't* cause the program to return # a failure status. def handle_error(self, request, client_address): - print >>sys.stderr, '-'*40 - print >>sys.stderr, 'Ignoring exception during processing of request from', client_address - print >>sys.stderr, '-'*40 - - def shutdown_request(self, *args, **kwds): - try: - # just forward to base-class method, but wrap in try/except - HTTPServer.shutdown_request(self, *args, **kwds) - except Exception as err: - print >>sys.stderr, "Once more ignoring: %s" % err + print '-'*40 + print 'Ignoring exception during processing of request from', + print client_address + print '-'*40 if __name__ == "__main__": do_valgrind = False |