From 4e1a76ccb2f1f5bb2c96ab3dc539cb5c4ef8b59b 2011-08-08 18:55:11 From: MinRK Date: 2011-08-08 18:55:11 Subject: [PATCH] remove hardcoded hb port from internal example The Related bug has been fixed. --- diff --git a/docs/examples/lib/internal_ipkernel.py b/docs/examples/lib/internal_ipkernel.py index 30d58fb..fdfa023 100644 --- a/docs/examples/lib/internal_ipkernel.py +++ b/docs/examples/lib/internal_ipkernel.py @@ -14,10 +14,7 @@ def pylab_kernel(gui): """Launch and return an IPython kernel with pylab support for the desired gui """ kernel = IPKernelApp() - # FIXME: we're hardcoding the heartbeat port b/c of a bug in IPython 0.11 - # that will set it to 0 if not specified. Once this is fixed, the --hb - # parameter can be omitted and all ports will be automatic - kernel.initialize(['python', '--pylab=%s' % gui, '--hb=19999', + kernel.initialize(['python', '--pylab=%s' % gui, #'--log-level=10' ]) return kernel