[accerciser] IPython: Fix spurious line input
- From: Samuel Thibault <sthibaul src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser] IPython: Fix spurious line input
- Date: Mon, 10 Jun 2019 14:36:35 +0000 (UTC)
commit e1120baca9b7cdb913f04928884ec53a79a481d6
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Mon Jun 10 16:36:24 2019 +0200
IPython: Fix spurious line input
plugins/ipython_view.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/ipython_view.py b/plugins/ipython_view.py
index 53664cf..f718877 100755
--- a/plugins/ipython_view.py
+++ b/plugins/ipython_view.py
@@ -182,7 +182,7 @@ class IterableIPShell:
self.IP.showtraceback()
else:
if self.no_input_splitter:
- self.lines.append(self.IP.raw_input(self.prompt))
+ self.lines.append(line)
self.iter_more = self.IP.check_complete('\n'.join(self.lines))[0] == 'incomplete'
else:
self.IP.input_splitter.push(line)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]