Remove unused imports

This commit is contained in:
Spencer Nelson 2014-05-01 15:42:46 -07:00
parent 395c983377
commit 925a58c0b4
4 changed files with 3 additions and 14 deletions

View File

@ -7,11 +7,8 @@ from tornado import web
from ..base.handlers import IPythonHandler, notebook_path_regex
from IPython.nbformat.current import to_notebook_json
from IPython.utils import tz
from IPython.utils.py3compat import cast_bytes
import sys
def find_resource_files(output_files_dir):
files = []
for dirpath, dirnames, filenames in os.walk(output_files_dir):

View File

@ -21,9 +21,7 @@ import os
from tornado import web
from IPython.kernel.multikernelmanager import MultiKernelManager
from IPython.utils.traitlets import (
Dict, List, Unicode,
)
from IPython.utils.traitlets import List, Unicode, TraitError
from IPython.html.utils import to_os_path
from IPython.utils.py3compat import getcwd

View File

@ -1,10 +1,6 @@
"""Test the kernels service API."""
import os
import sys
import json
import requests
from IPython.html.utils import url_path_join

View File

@ -15,11 +15,9 @@ Authors:
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
import os
from tornado import web
from ..base.handlers import IPythonHandler, notebook_path_regex, path_regex
from ..utils import url_path_join, path2url, url2path, url_escape, is_hidden
from ..utils import url_path_join, url_escape
#-----------------------------------------------------------------------------
# Handlers