Show More
@@ -226,7 +226,7 b' def _posixworker(ui, func, staticargs, a' | |||
|
226 | 226 | selector = selectors.DefaultSelector() |
|
227 | 227 | for rfd, wfd in pipes: |
|
228 | 228 | os.close(wfd) |
|
229 |
selector.register(os.fdopen(rfd, 'rb' |
|
|
229 | selector.register(os.fdopen(rfd, 'rb'), selectors.EVENT_READ) | |
|
230 | 230 | |
|
231 | 231 | def cleanup(): |
|
232 | 232 | signal.signal(signal.SIGINT, oldhandler) |
General Comments 0
You need to be logged in to leave comments.
Login now