/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/http_server.py

Merge sftp-leaks into catch-them-all

Show diffs side-by-side

added added

removed removed

Lines of Context:
532
532
        """Start a new thread to process the request."""
533
533
        client = self.clients.pop()
534
534
        started = threading.Event()
535
 
        t = threading.Thread(target = self.process_request_thread,
536
 
                             args = (started, request, client_address))
 
535
        t = test_server.ThreadWithException(
 
536
            event=started,
 
537
            target = self.process_request_thread,
 
538
            args = (started, request, client_address))
537
539
        t.name = '%s -> %s' % (client_address, self.server_address)
 
540
        if 'threads' in tests.selftest_debug_flags:
 
541
            print 'Thread for: %s started' % (threading.currentThread().name,)
538
542
        client.append(t)
539
543
        self.clients.append(client)
540
544
        if self.daemon_threads: