Don't check whether SDK home path exists on a local disk if it is a remote one
[idea/community.git] / python / src / com / jetbrains / python / sdk / PythonSdkType.java
index ee4b320503d4e71dec360d76a5b585afacccea65..4c6a8fd0ac659f0a0305492b4a79bb7df65c2786 100644 (file)
@@ -925,5 +925,10 @@ public final class PythonSdkType extends SdkType {
   public static Sdk findSdkByKey(@NotNull String key) {
     return ProjectJdkTable.getInstance().findJdk(key);
   }
   public static Sdk findSdkByKey(@NotNull String key) {
     return ProjectJdkTable.getInstance().findJdk(key);
   }
+
+  @Override
+  public boolean isLocalSdk(@NotNull Sdk sdk) {
+    return !isRemote(sdk);
+  }
 }
 
 }