def serve_status_page(self, port):
        Handler.task_graph = self.task_graph
        print("Starting server at http://localhost:%d" % port)
        try:
            httpd = SocketServer.TCPServer(("", port), Handler)
        except socket.error, error:
            raise CommandLineException(error.strerror)
        try:
            httpd.serve_forever()
        except __HOLE__:
            pass
dataset/ETHPy150Open deanmalmgren/flo/flo/commands/status.py/Command.serve_status_page