mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-29110: Correctly process folders ending in .egg in PythonPathEditor
This commit is contained in:
committed by
Andrey Vlasovskikh
parent
a662f3c520
commit
8402e499f2
+1
-1
@@ -101,7 +101,7 @@ public class PythonPathEditor extends SdkPathEditor {
|
||||
@Override
|
||||
protected VirtualFile[] adjustAddedFileSet(Component component, VirtualFile[] files) {
|
||||
for (int i = 0, filesLength = files.length; i < filesLength; i++) {
|
||||
if (files[i].getFileType() == FileTypes.ARCHIVE) {
|
||||
if (!files[i].isDirectory() && files[i].getFileType() == FileTypes.ARCHIVE) {
|
||||
files[i] = JarFileSystem.getInstance().getJarRootForLocalFile(files[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user