human
Solve the following python programming problem given the following code:
@ contextlib.contextmanager 
def http_server(handlers) : 
    def wsgi_app(environ, start_response) : 
        handler = handlers.get (environ ['PATH_INFO']) 
        if handler : 
            status = str ('200 OK') 
            (response, headers) = handler (environ) 
            headers = [(str (name), str (value)) for (name, value) in headers] 
else : 
            status = str ('404 Not Found') 
            response = b'' 
            headers = [] 
start_response (status, headers) 
        return [response] 
server = wsgiref.simple_server.make_server ('127.0.0.1', 0, wsgi_app) 
    (_host, port) = server.socket.getsockname () 
    thread = threading.Thread (target = server.serve_forever) 
    thread.start () 
    try : 
        (yield ('http://127.0.0.1:%s' % thread)) 
finally : 
        server.shutdown () 
        thread.join () 

    
    

    Fix the buggy line: (yield ('http://127.0.0.1:%s' % thread))
assistant
#Here is Python program to fix the buggy line: (yield ('http://127.

(yield ('http://127.0.0.1:%s' % port))