Submitter | Jun Wu |
---|---|
Date | May 9, 2016, 12:06 a.m. |
Message ID | <7a84412fa25901e35b2d.1462752383@x1c> |
Download | mbox | patch |
Permalink | /patch/14980/ |
State | Changes Requested |
Headers | show |
Comments
Patch
diff --git a/mercurial/socketserver.py b/mercurial/socketserver.py --- a/mercurial/socketserver.py +++ b/mercurial/socketserver.py @@ -136,6 +136,7 @@ import socket try: import threading + threading.Thread # force demandimport to load the module except ImportError: import dummy_threading as threading @@ -164,6 +165,7 @@ try: import selectors + selectors.EVENT_READ # force demandimport to load the module except ImportError: # Python 2 does not have selectors. This is a minimal "selectors" # module just satisfying the needs of the "socketserver" module.