Show More
@@ -21,7 +21,6 b' import sys' | |||
|
21 | 21 | # Our own packages |
|
22 | 22 | import IPython.utils.io |
|
23 | 23 | |
|
24 | from IPython.core.inputlist import InputList | |
|
25 | 24 | from IPython.utils.pickleshare import PickleShareDB |
|
26 | 25 | from IPython.utils.io import ask_yes_no |
|
27 | 26 | from IPython.utils.warn import warn |
@@ -37,9 +36,9 b' class HistoryManager(object):' | |||
|
37 | 36 | |
|
38 | 37 | # An instance of the IPython shell we are attached to |
|
39 | 38 | shell = None |
|
40 |
# A |
|
|
39 | # A list to hold processed history | |
|
41 | 40 | input_hist_parsed = None |
|
42 |
# A |
|
|
41 | # A list to hold raw history (as typed by user) | |
|
43 | 42 | input_hist_raw = None |
|
44 | 43 | # A list of directories visited during session |
|
45 | 44 | dir_hist = None |
@@ -229,7 +228,7 b' class HistoryManager(object):' | |||
|
229 | 228 | def sync_inputs(self): |
|
230 | 229 | """Ensure raw and translated histories have same length.""" |
|
231 | 230 | if len(self.input_hist_parsed) != len (self.input_hist_raw): |
|
232 |
self.input_hist_raw = |
|
|
231 | self.input_hist_raw[:] = self.input_hist_parsed | |
|
233 | 232 | |
|
234 | 233 | def reset(self): |
|
235 | 234 | """Clear all histories managed by this object.""" |
@@ -23,7 +23,6 b' import sys' | |||
|
23 | 23 | |
|
24 | 24 | from IPython.core.error import TryNext |
|
25 | 25 | from IPython.core.usage import interactive_usage, default_banner |
|
26 | from IPython.core.inputlist import InputList | |
|
27 | 26 | from IPython.core.interactiveshell import InteractiveShell, InteractiveShellABC |
|
28 | 27 | from IPython.lib.inputhook import enable_gui |
|
29 | 28 | from IPython.lib.pylabtools import pylab_activate |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now