mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add restored sdk root virtual file instead of original file
We check for the restored root file being contained in the excluded paths and then we used to put the original file instead of the restored one. For example, the restored file a Jar FS for *.egg archive was ignored and the original file was used instead. This resulted in the wrong assumption that our paths had been modified.
This commit is contained in:
@@ -340,7 +340,7 @@ public class PythonSdkUpdater implements StartupActivity {
|
||||
if (virtualFile != null) {
|
||||
final VirtualFile rootFile = PythonSdkType.getSdkRootVirtualFile(virtualFile);
|
||||
if (!excludedPaths.contains(rootFile)) {
|
||||
results.add(virtualFile);
|
||||
results.add(rootFile);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user