Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/server.py @ 3673:eb0b4a2d70a9
white space and line break cleanups
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 17 Nov 2006 08:06:54 +0100 |
parents | dc3504af7722 |
children | 925b1816c746 |
comparison
equal
deleted
inserted
replaced
3672:e8730b5b8a32 | 3673:eb0b4a2d70a9 |
---|---|
184 _mixin = SocketServer.ThreadingMixIn | 184 _mixin = SocketServer.ThreadingMixIn |
185 else: | 185 else: |
186 if hasattr(os, "fork"): | 186 if hasattr(os, "fork"): |
187 _mixin = SocketServer.ForkingMixIn | 187 _mixin = SocketServer.ForkingMixIn |
188 else: | 188 else: |
189 class _mixin: pass | 189 class _mixin: |
190 pass | |
190 | 191 |
191 class MercurialHTTPServer(object, _mixin, BaseHTTPServer.HTTPServer): | 192 class MercurialHTTPServer(object, _mixin, BaseHTTPServer.HTTPServer): |
192 def __init__(self, *args, **kargs): | 193 def __init__(self, *args, **kargs): |
193 BaseHTTPServer.HTTPServer.__init__(self, *args, **kargs) | 194 BaseHTTPServer.HTTPServer.__init__(self, *args, **kargs) |
194 self.accesslog = accesslog | 195 self.accesslog = accesslog |