From e28a40cb3dded6c8ced75baed41662d89c15f2b6 2013-07-02 21:31:40 From: Thomas Kluyver Date: 2013-07-02 21:31:40 Subject: [PATCH] Remove unused imports in IPython.html --- diff --git a/IPython/html/notebookapp.py b/IPython/html/notebookapp.py index c3d3f11..f0d7705 100644 --- a/IPython/html/notebookapp.py +++ b/IPython/html/notebookapp.py @@ -27,7 +27,6 @@ import socket import sys import threading import time -import uuid import webbrowser @@ -36,7 +35,6 @@ import webbrowser from IPython.utils.zmqrelated import check_for_zmq check_for_zmq('2.1.11', 'IPython.html') -import zmq from jinja2 import Environment, FileSystemLoader # Install the pyzmq ioloop. This has to be done before anything else from diff --git a/IPython/html/services/clusters/clustermanager.py b/IPython/html/services/clusters/clustermanager.py index 404eaf4..3b12a1a 100644 --- a/IPython/html/services/clusters/clustermanager.py +++ b/IPython/html/services/clusters/clustermanager.py @@ -22,13 +22,11 @@ from tornado import web from zmq.eventloop import ioloop from IPython.config.configurable import LoggingConfigurable -from IPython.config.loader import load_pyconfig_files from IPython.utils.traitlets import Dict, Instance, CFloat from IPython.parallel.apps.ipclusterapp import IPClusterStart from IPython.core.profileapp import list_profiles_in from IPython.core.profiledir import ProfileDir from IPython.utils.path import get_ipython_dir -from IPython.utils.sysinfo import num_cpus #----------------------------------------------------------------------------- diff --git a/IPython/html/services/kernels/kernelmanager.py b/IPython/html/services/kernels/kernelmanager.py index ed1c03e..93ba04d 100644 --- a/IPython/html/services/kernels/kernelmanager.py +++ b/IPython/html/services/kernels/kernelmanager.py @@ -20,7 +20,7 @@ from tornado import web from IPython.kernel.multikernelmanager import MultiKernelManager from IPython.utils.traitlets import ( - Dict, List, Unicode, Integer, + Dict, List, Unicode, ) #-----------------------------------------------------------------------------