Simplify util function (PY-27227)

This commit is contained in:
Elizaveta Shashkova
2017-12-04 20:26:53 +03:00
parent 9f38ebbab0
commit f9721e6df2
@@ -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;
}
}