From 2776a00ca02623d5a1939c77909fcc6494da8bde Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Thu, 15 Sep 2016 16:08:40 +0300 Subject: [PATCH] Revert inappropriate fix (PY-20684) We can't just change number, because Out in IPython has numbers too. And the first command we execute is getting info about console. --- .../python/console/PydevConsoleExecuteActionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/console/PydevConsoleExecuteActionHandler.java b/python/src/com/jetbrains/python/console/PydevConsoleExecuteActionHandler.java index eb8182b63c8c..3ec2c23b24bc 100644 --- a/python/src/com/jetbrains/python/console/PydevConsoleExecuteActionHandler.java +++ b/python/src/com/jetbrains/python/console/PydevConsoleExecuteActionHandler.java @@ -57,7 +57,7 @@ public class PydevConsoleExecuteActionHandler extends ProcessBackedConsoleExecut private final ConsoleCommunication myConsoleCommunication; private boolean myEnabled = false; - private int myIpythonInputPromptCount = 0; + private int myIpythonInputPromptCount = 1; public PydevConsoleExecuteActionHandler(LanguageConsoleView consoleView, ProcessHandler processHandler,