/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/blackbox/test_serve.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-20 03:45:52 UTC
  • mto: This revision was merged to the branch mainline in revision 4550.
  • Revision ID: andrew.bennetts@canonical.com-20090720034552-5yxu5h0cittp2dub
Pass backing_urls to the new server_started_ex hook.

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
        When 'func' terminates, the server will be terminated too.
273
273
        """
274
274
        # install hook
275
 
        def on_server_start(tcp_server):
276
 
            t = threading.Thread(target=on_server_start_thread, args=(tcp_server,))
 
275
        def on_server_start(backing_urls, tcp_server):
 
276
            t = threading.Thread(
 
277
                target=on_server_start_thread, args=(tcp_server,))
277
278
            t.start()
278
279
        def on_server_start_thread(tcp_server):
279
280
            try: