mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Removed duplicated alerts in unbound locals inspection for qualified imports (PY-3666)
This commit is contained in:
@@ -49,9 +49,7 @@ public class PyUnboundLocalVariableInspection extends PyInspection {
|
||||
return;
|
||||
}
|
||||
// Ignore qualifier inspections
|
||||
final PyExpression qualifier = node.getQualifier();
|
||||
if (qualifier != null){
|
||||
qualifier.accept(this);
|
||||
if (node.getQualifier() != null) {
|
||||
return;
|
||||
}
|
||||
// Ignore import subelements
|
||||
|
||||
Reference in New Issue
Block a user