From dea2b784012c3539a32b76172490d3cc4543593c Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Sat, 16 Feb 2013 22:20:11 +0100 Subject: [PATCH] Env tests work with remote python interpreters. --- python/python-tests.iml | 1 + .../python/remote/PythonRemoteInterpreterManager.java | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/python/python-tests.iml b/python/python-tests.iml index 56cbdc0b8d85..ceff856a0060 100644 --- a/python/python-tests.iml +++ b/python/python-tests.iml @@ -24,6 +24,7 @@ + diff --git a/python/src/com/jetbrains/python/remote/PythonRemoteInterpreterManager.java b/python/src/com/jetbrains/python/remote/PythonRemoteInterpreterManager.java index a10ad75c16a6..b2f2f6cf5ba7 100644 --- a/python/src/com/jetbrains/python/remote/PythonRemoteInterpreterManager.java +++ b/python/src/com/jetbrains/python/remote/PythonRemoteInterpreterManager.java @@ -11,10 +11,7 @@ import com.intellij.openapi.projectRoots.Sdk; import com.intellij.openapi.projectRoots.SdkModificator; import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.VirtualFile; -import com.intellij.remotesdk.RemoteCredentials; -import com.intellij.remotesdk.RemoteInterpreterException; -import com.intellij.remotesdk.RemoteSdkData; -import com.intellij.remotesdk.RemoteSshProcess; +import com.intellij.remotesdk.*; import com.intellij.util.NullableConsumer; import com.intellij.util.PathMappingSettings; import com.jetbrains.python.PythonHelpersLocator; @@ -30,7 +27,7 @@ import java.util.List; /** * @author traff */ -public abstract class PythonRemoteInterpreterManager { +public abstract class PythonRemoteInterpreterManager implements RemoteSdkFactory { public final static ExtensionPointName EP_NAME = ExtensionPointName.create("Pythonid.remoteInterpreterManager"); public static final String WEB_DEPLOYMENT_PLUGIN_IS_DISABLED =