mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Simplify util function (PY-27227)
This commit is contained in:
@@ -118,9 +118,6 @@ public class PyDebugSupportUtils {
|
||||
|
||||
public static boolean isCurrentPythonDebugProcess(Project project) {
|
||||
XDebugSession session = XDebuggerManager.getInstance(project).getCurrentSession();
|
||||
if (session != null && session.getDebugProcess() instanceof PyDebugProcess) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return session != null && session.getDebugProcess() instanceof PyDebugProcess;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user