Fix problem with try/except assignments#2

This commit is contained in:
Oleg Shpynov
2010-12-01 10:45:22 +03:00
parent 1cf6953fd5
commit 985caf1418
@@ -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;
}