changeset 34645 | 75979c8d4572 |
parent 34512 | 482d6f6dba91 |
child 34700 | 8e5132ece156 |
--- a/mercurial/hgweb/server.py Thu Oct 12 19:20:04 2017 -0700 +++ b/mercurial/hgweb/server.py Thu Oct 12 23:30:46 2017 -0700 @@ -266,7 +266,7 @@ class MercurialHTTPServer(_mixin, httpservermod.httpserver, object): # SO_REUSEADDR has broken semantics on windows - if pycompat.osname == 'nt': + if pycompat.iswindows: allow_reuse_address = 0 def __init__(self, ui, app, addr, handler, **kwargs):