mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
remove unnecessary allow_none=True
This commit is contained in:
parent
1dbd95c4bc
commit
fa1fce83db
@ -20,7 +20,7 @@ class ClusterManager(LoggingConfigurable):
|
|||||||
delay = Float(1., config=True,
|
delay = Float(1., config=True,
|
||||||
help="delay (in s) between starting the controller and the engines")
|
help="delay (in s) between starting the controller and the engines")
|
||||||
|
|
||||||
loop = Instance('zmq.eventloop.ioloop.IOLoop', allow_none=True)
|
loop = Instance('zmq.eventloop.ioloop.IOLoop')
|
||||||
def _loop_default(self):
|
def _loop_default(self):
|
||||||
from zmq.eventloop.ioloop import IOLoop
|
from zmq.eventloop.ioloop import IOLoop
|
||||||
return IOLoop.instance()
|
return IOLoop.instance()
|
||||||
|
Loading…
Reference in New Issue
Block a user