mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-21617, PY-21614: Project name not passed to Django in plugin leading to bugs
* Plugin uses different GUI, so project name lost and project generation failed * We know check all params are not null when passing to project generation task
This commit is contained in:
@@ -48,6 +48,7 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* TODO: Use {@link com.jetbrains.python.run.PythonRunner} instead of this class? At already supports rerun and other things
|
||||
@@ -204,7 +205,7 @@ public class PythonTask {
|
||||
else {
|
||||
scriptParams.addParameter(myRunnerScript);
|
||||
}
|
||||
scriptParams.addParameters(myParameters);
|
||||
scriptParams.addParameters(myParameters.stream().filter( o -> o != null).collect(Collectors.toList()));
|
||||
}
|
||||
|
||||
PythonEnvUtil.setPythonUnbuffered(env);
|
||||
|
||||
Reference in New Issue
Block a user