mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
Inlined PyPackageManager.getInstalledPackage(String)
This commit is contained in:
@@ -49,7 +49,7 @@ public class RestPythonUtil {
|
||||
if (sdk != null) {
|
||||
PyPackageManager manager = PyPackageManager.getInstance(sdk);
|
||||
try {
|
||||
final PyPackage sphinx = manager.findInstalledPackage("Sphinx");
|
||||
final PyPackage sphinx = manager.findInstalledPackage("Sphinx", false);
|
||||
presentation.setEnabled(sphinx != null);
|
||||
}
|
||||
catch (PyExternalProcessException ignored) {
|
||||
|
||||
Reference in New Issue
Block a user