##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51472:b08aed45 default
parent child Browse files
Show More
@@ -344,7 +344,7 b' try:'
344 threading.active_count() # silence pyflakes and bypass demandimport
344 threading.active_count() # silence pyflakes and bypass demandimport
345 _mixin = socketserver.ThreadingMixIn
345 _mixin = socketserver.ThreadingMixIn
346 except ImportError:
346 except ImportError:
347 if util.safehasattr(os, b"fork"):
347 if util.safehasattr(os, "fork"):
348 _mixin = socketserver.ForkingMixIn
348 _mixin = socketserver.ForkingMixIn
349 else:
349 else:
350
350
General Comments 0
You need to be logged in to leave comments. Login now