HomeSoftware Heritage

Initialize 'status' before try block

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Initialize 'status' before try block

It seems that despite setting it in the 'except BaseException' block,
it is still occasionally undefined in the 'finally' block when
triggered by a SystemExit exception.

This should hopefully prevent UnboundLocalError from
being raised from the 'finally' block from now on

Details

Provenance
vlorentzAuthored on Aug 8 2022, 10:32 AM
vlorentzPushed on Aug 8 2022, 2:33 PM
Differential Revision
D8207: Initialize 'status' before try block
Tasks
Restricted Maniphest Task
Build Status
Buildable 30682
Build 47975: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.