Fix helpers path locator

Add space after -m
This commit is contained in:
Dmitry Trofimov
2015-08-05 00:00:16 +02:00
parent 6540e4328b
commit 3557386c36
@@ -158,8 +158,8 @@ public enum PythonHelpersLocator implements PythonHelper {
public abstract static class PathPythonHelper implements PythonHelper {
protected final File myPath;
PathPythonHelper(String relativePath) {
myPath = getHelperFile(relativePath);
PathPythonHelper(String path) {
myPath = new File(path);
}
@Override
@@ -197,13 +197,13 @@ public enum PythonHelpersLocator implements PythonHelper {
private final String myModuleName;
public ModulePythonHelper(String moduleName, String relativePath) {
super(relativePath);
super(getHelperFile(relativePath).getAbsolutePath());
this.myModuleName = moduleName;
}
@Override
public String asParamString() {
return "-m" + myModuleName;
return "-m " + myModuleName;
}
@Override