Python console execution refactoring. Occasionally fixes PY-13041

This commit is contained in:
Dmitry Trofimov
2015-07-31 00:18:04 +02:00
parent 0ec428183b
commit 8dc480c2e2
20 changed files with 257 additions and 191 deletions

View File

@@ -148,7 +148,7 @@ public class SphinxBaseCommand {
ReSTService service = ReSTService.getInstance(module);
cmd.setWorkDirectory(service.getWorkdir().isEmpty()? module.getProject().getBaseDir().getPath(): service.getWorkdir());
PythonCommandLineState.createStandardGroupsIn(cmd);
PythonCommandLineState.createStandardGroups(cmd);
ParamsGroup script_params = cmd.getParametersList().getParamsGroup(PythonCommandLineState.GROUP_SCRIPT);
assert script_params != null;