mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-33880 Fix AttributeError when running Python Console on IronPython
This commit is contained in:
@@ -70,6 +70,12 @@ private fun GeneralCommandLine.initializePydevConsoleScriptGroup(pythonSdkFlavor
|
||||
}
|
||||
group.addParameter(PythonHelper.CONSOLE.asParamString())
|
||||
|
||||
// fix `AttributeError` when running Python Console on IronPython
|
||||
pythonSdkFlavor?.extraDebugOptions?.let { extraDebugOptions ->
|
||||
val exeGroup = parametersList.getParamsGroup(PythonCommandLineState.GROUP_EXE_OPTIONS)
|
||||
extraDebugOptions.forEach { exeGroup?.addParameter(it) }
|
||||
}
|
||||
|
||||
return group
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user