##// END OF EJS Templates
rm imports
Srinivas Reddy Thatiparthy -
Show More
@@ -9,8 +9,7 b' import IPython'
9 from IPython.utils.importstring import import_item
9 from IPython.utils.importstring import import_item
10 from IPython.utils.path import (
10 from IPython.utils.path import (
11 get_home_dir, get_xdg_dir, get_xdg_cache_dir, compress_user, _writable_dir,
11 get_home_dir, get_xdg_dir, get_xdg_cache_dir, compress_user, _writable_dir,
12 ensure_dir_exists, fs_encoding, filefind
12 ensure_dir_exists, fs_encoding)
13 )
14 from IPython.utils import py3compat
13 from IPython.utils import py3compat
15
14
16 def get_ipython_dir():
15 def get_ipython_dir():
@@ -11,16 +11,11 b' interface for IronPython will probably require you to help fill'
11 in the details.
11 in the details.
12 """
12 """
13
13
14 # Import cli libraries:
15 import clr
16 import System
17
14
18 # Import Python libraries:
15 import System
19 import os
16 import os
20
21 # Import IPython libraries:
22 from IPython.utils import py3compat
17 from IPython.utils import py3compat
23 from ._process_common import arg_split
18
24
19
25 def _find_cmd(cmd):
20 def _find_cmd(cmd):
26 """Find the full path to a command using which."""
21 """Find the full path to a command using which."""
@@ -5,12 +5,8 b' Wrapper around linecache which decodes files to unicode according to PEP 263.'
5 """
5 """
6 import functools
6 import functools
7 import linecache
7 import linecache
8 import sys
9 from warnings import warn
8 from warnings import warn
10
9
11 from IPython.utils import py3compat
12 from IPython.utils import openpy
13
14 getline = linecache.getline
10 getline = linecache.getline
15
11
16 # getlines has to be looked up at runtime, because doctests monkeypatch it.
12 # getlines has to be looked up at runtime, because doctests monkeypatch it.
General Comments 0
You need to be logged in to leave comments. Login now