Show More
@@ -314,13 +314,10 class EmbeddedSphinxShell(object): | |||
|
314 | 314 | |
|
315 | 315 | ret = [] |
|
316 | 316 | is_semicolon = False |
|
317 | store_history = True | |
|
318 | 317 | |
|
319 | 318 | for i, line in enumerate(input_lines): |
|
320 | 319 | if line.endswith(';'): |
|
321 | 320 | is_semicolon = True |
|
322 | if is_suppress: | |
|
323 | store_history = False | |
|
324 | 321 | |
|
325 | 322 | if i==0: |
|
326 | 323 | # process the first input line |
@@ -329,12 +326,12 class EmbeddedSphinxShell(object): | |||
|
329 | 326 | self.IP.execution_count += 1 # increment it anyway |
|
330 | 327 | else: |
|
331 | 328 | # only submit the line in non-verbatim mode |
|
332 |
self.process_input_line(line, store_history= |
|
|
329 | self.process_input_line(line, store_history=True) | |
|
333 | 330 | formatted_line = '%s %s'%(input_prompt, line) |
|
334 | 331 | else: |
|
335 | 332 | # process a continuation line |
|
336 | 333 | if not is_verbatim: |
|
337 |
self.process_input_line(line, store_history= |
|
|
334 | self.process_input_line(line, store_history=True) | |
|
338 | 335 | |
|
339 | 336 | formatted_line = '%s %s'%(continuation, line) |
|
340 | 337 |
General Comments 0
You need to be logged in to leave comments.
Login now