From 3557386c36e9c0b79ff850faa209fec56499818d Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Wed, 5 Aug 2015 00:00:16 +0200 Subject: [PATCH] Fix helpers path locator Add space after -m --- python/src/com/jetbrains/python/PythonHelpersLocator.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/src/com/jetbrains/python/PythonHelpersLocator.java b/python/src/com/jetbrains/python/PythonHelpersLocator.java index 03ad1e78e179..5e4c3ff1aa54 100644 --- a/python/src/com/jetbrains/python/PythonHelpersLocator.java +++ b/python/src/com/jetbrains/python/PythonHelpersLocator.java @@ -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