##// END OF EJS Templates
Better report errors where select is missing POLLHUP/POLERR (win32)....
Fernando Perez -
Show More
@@ -73,7 +73,12 b' import socket, select'
73 import os, threading, subprocess
73 import os, threading, subprocess
74 import re
74 import re
75
75
76 ERRCONDS = select.POLLHUP|select.POLLERR
76 try:
77 ERRCONDS = select.POLLHUP|select.POLLERR
78 except AttributeError:
79 raise ImportError("Vim server not supported on this platform - select "
80 "missing necessary POLLHUP/POLLERR functionality")
81
77 SERVER = None
82 SERVER = None
78 ip = IPython.ipapi.get()
83 ip = IPython.ipapi.get()
79
84
General Comments 0
You need to be logged in to leave comments. Login now