##// END OF EJS Templates
Backport PR #4639: Minor import fix to get qtconsole with --pylab=qt working...
MinRK -
Show More
@@ -40,7 +40,7 b' def _notify_stream_qt(kernel, stream):'
40 if _on_os_x_10_9() and kernel._darwin_app_nap:
40 if _on_os_x_10_9() and kernel._darwin_app_nap:
41 from IPython.external.appnope import nope_scope as context
41 from IPython.external.appnope import nope_scope as context
42 else:
42 else:
43 from IPython.core.interactiveshell import no_op_context as context
43 from IPython.core.interactiveshell import NoOpContext as context
44
44
45 def process_stream_events():
45 def process_stream_events():
46 while stream.getsockopt(zmq.EVENTS) & zmq.POLLIN:
46 while stream.getsockopt(zmq.EVENTS) & zmq.POLLIN:
General Comments 0
You need to be logged in to leave comments. Login now