mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 11:20:44 +07:00
Revert "Fixed names of class references in exception inheritance inspection"
This reverts commit 26d18becb41addbebec800799ac7ba9b127e0e9e.
This commit is contained in:
@@ -48,7 +48,7 @@ public class PyExceptionInheritInspection extends PyInspection {
|
||||
if (psiElement instanceof PyClass) {
|
||||
PyClass aClass = (PyClass) psiElement;
|
||||
for (PyClassRef pyClass : aClass.iterateAncestors()) {
|
||||
if ("Exception".equals(pyClass.getQualifiedName())) {
|
||||
if ("Exception".equals(pyClass.getClassName())) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user