Revert to Tool Window API
[idea/community.git] / python / src / com / jetbrains / python / run / PythonScriptCommandLineState.java
index d7ea4e12e208cb6d4be4a18c5d552a2792074fa2..b0797faad76c617c587d44e5f9cd9084d87a776f 100644 (file)
@@ -125,8 +125,7 @@ public class PythonScriptCommandLineState extends PythonCommandLineState {
                                          CommandLinePatcher[] patchers,
                                          PyConsoleOptions.PyConsoleSettings consoleSettings,
                                          String... statementsToExecute) {
-      super(project, sdk, consoleType, workingDir, environmentVariables, consoleSettings, () -> {
-      }, statementsToExecute);
+      super(project, sdk, consoleType, workingDir, environmentVariables, consoleSettings, (s) -> {}, statementsToExecute);
       myPatchers = patchers;
     }
 
@@ -135,7 +134,6 @@ public class PythonScriptCommandLineState extends PythonCommandLineState {
       AnAction a = new ConsoleExecuteAction(super.getConsoleView(), myConsoleExecuteActionHandler,
                                             myConsoleExecuteActionHandler.getEmptyExecuteAction(), myConsoleExecuteActionHandler);
       registerActionShortcuts(Lists.newArrayList(a), getConsoleView().getConsoleEditor().getComponent());
-
     }
 
     @Override