[accerciser/gnome-3-32] IPython: Fix spurious line input
- From: Samuel Thibault <sthibaul src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser/gnome-3-32] IPython: Fix spurious line input
- Date: Mon, 10 Jun 2019 15:27:42 +0000 (UTC)
commit c62211dc9667c5b88b3c64849dc01981b77a55ad
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Mon Jun 10 16:36:24 2019 +0200
IPython: Fix spurious line input
(cherry picked from commit e1120baca9b7cdb913f04928884ec53a79a481d6)
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 85cb482..3bde0d1 100755
--- a/plugins/ipython_view.py
+++ b/plugins/ipython_view.py
@@ -179,7 +179,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]