Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/server.py @ 34376:4741428606ed
hgweb: remove superfluous pass statements
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 30 Sep 2017 07:44:20 -0400 |
parents | d24816dfdcff |
children | 482d6f6dba91 |
comparison
equal
deleted
inserted
replaced
34375:ebf2c1b0c70c | 34376:4741428606ed |
---|---|
59 url_scheme = 'http' | 59 url_scheme = 'http' |
60 | 60 |
61 @staticmethod | 61 @staticmethod |
62 def preparehttpserver(httpserver, ui): | 62 def preparehttpserver(httpserver, ui): |
63 """Prepare .socket of new HTTPServer instance""" | 63 """Prepare .socket of new HTTPServer instance""" |
64 pass | |
65 | 64 |
66 def __init__(self, *args, **kargs): | 65 def __init__(self, *args, **kargs): |
67 self.protocol_version = 'HTTP/1.1' | 66 self.protocol_version = 'HTTP/1.1' |
68 httpservermod.basehttprequesthandler.__init__(self, *args, **kargs) | 67 httpservermod.basehttprequesthandler.__init__(self, *args, **kargs) |
69 | 68 |