equal
deleted
inserted
replaced
35 def log_message(self, format, *args): |
35 def log_message(self, format, *args): |
36 httpserver.simplehttprequesthandler.log_message(self, format, *args) |
36 httpserver.simplehttprequesthandler.log_message(self, format, *args) |
37 sys.stderr.flush() |
37 sys.stderr.flush() |
38 |
38 |
39 |
39 |
40 class simplehttpservice(object): |
40 class simplehttpservice: |
41 def __init__(self, host, port): |
41 def __init__(self, host, port): |
42 self.address = (host, port) |
42 self.address = (host, port) |
43 |
43 |
44 def init(self): |
44 def init(self): |
45 self.httpd = simplehttpserver(self.address, _httprequesthandler) |
45 self.httpd = simplehttpserver(self.address, _httprequesthandler) |