diff options
Diffstat (limited to 'mercurial/hgweb/server.py')
-rw-r--r-- | mercurial/hgweb/server.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mercurial/hgweb/server.py b/mercurial/hgweb/server.py index 3ad99f4..9d363f0 100644 --- a/mercurial/hgweb/server.py +++ b/mercurial/hgweb/server.py @@ -246,10 +246,9 @@ class _httprequesthandlerssl(_httprequesthandler): try: from threading import activeCount - activeCount() # silence pyflakes _mixin = SocketServer.ThreadingMixIn except ImportError: - if util.safehasattr(os, "fork"): + if hasattr(os, "fork"): _mixin = SocketServer.ForkingMixIn else: class _mixin(object): |