##// END OF EJS Templates
hgweb: Fix deprecation warning in Python 3.10 (issue6520)...
Karthikeyan Singaravelan -
r47965:acd84c43 default
parent child Browse files
Show More
@@ -344,7 +344,7 b' class _httprequesthandlerssl(_httpreques'
344 try:
344 try:
345 import threading
345 import threading
346
346
347 threading.activeCount() # silence pyflakes and bypass demandimport
347 threading.active_count() # silence pyflakes and bypass demandimport
348 _mixin = socketserver.ThreadingMixIn
348 _mixin = socketserver.ThreadingMixIn
349 except ImportError:
349 except ImportError:
350 if util.safehasattr(os, b"fork"):
350 if util.safehasattr(os, b"fork"):
General Comments 0
You need to be logged in to leave comments. Login now