mercurial/hgweb/server.py
changeset 30082 ebc03e64548a
parent 29566 075146e85bb6
child 30264 dd3dd80fca10
equal deleted inserted replaced
30081:dd0ff715a82c 30082:ebc03e64548a
   261 def openlog(opt, default):
   261 def openlog(opt, default):
   262     if opt and opt != '-':
   262     if opt and opt != '-':
   263         return open(opt, 'a')
   263         return open(opt, 'a')
   264     return default
   264     return default
   265 
   265 
   266 class MercurialHTTPServer(object, _mixin, httpservermod.httpserver):
   266 class MercurialHTTPServer(_mixin, httpservermod.httpserver, object):
   267 
   267 
   268     # SO_REUSEADDR has broken semantics on windows
   268     # SO_REUSEADDR has broken semantics on windows
   269     if os.name == 'nt':
   269     if os.name == 'nt':
   270         allow_reuse_address = 0
   270         allow_reuse_address = 0
   271 
   271