mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix problem with try/except assignments#2
This commit is contained in:
@@ -190,6 +190,7 @@ class PyUnusedLocalInspectionVisitor extends PyInspectionVisitor {
|
||||
if (tryPart != null && !isAssignedOnEachExceptFlow(inst, tryPart, instructions, name)) {
|
||||
return ControlFlowUtil.Operation.NEXT;
|
||||
}
|
||||
return ControlFlowUtil.Operation.CONTINUE;
|
||||
}
|
||||
return ControlFlowUtil.Operation.NEXT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user