Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/server.py @ 4516:96d8a56d4ef9
Removed trailing whitespace and tabs from python files
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 06 Jun 2007 20:22:52 +0200 |
parents | 80c7fa620a4d |
children | 121999244123 |
comparison
equal
deleted
inserted
replaced
4515:86a66cce9566 | 4516:96d8a56d4ef9 |
---|---|
193 else: | 193 else: |
194 class _mixin: | 194 class _mixin: |
195 pass | 195 pass |
196 | 196 |
197 class MercurialHTTPServer(object, _mixin, BaseHTTPServer.HTTPServer): | 197 class MercurialHTTPServer(object, _mixin, BaseHTTPServer.HTTPServer): |
198 | 198 |
199 # SO_REUSEADDR has broken semantics on windows | 199 # SO_REUSEADDR has broken semantics on windows |
200 if os.name == 'nt': | 200 if os.name == 'nt': |
201 allow_reuse_address = 0 | 201 allow_reuse_address = 0 |
202 | 202 |
203 def __init__(self, *args, **kargs): | 203 def __init__(self, *args, **kargs): |
204 BaseHTTPServer.HTTPServer.__init__(self, *args, **kargs) | 204 BaseHTTPServer.HTTPServer.__init__(self, *args, **kargs) |
205 self.accesslog = accesslog | 205 self.accesslog = accesslog |
206 self.errorlog = errorlog | 206 self.errorlog = errorlog |
207 self.daemon_threads = True | 207 self.daemon_threads = True |