Page MenuHomeSoftware Heritage

metadata: Fix UnboundLocalError in edge case
ClosedPublic

Authored by ardumont on May 28 2021, 3:04 PM.

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D5798 (id=20714)

Rebasing onto 8fd4846af5...

Current branch diff-target is up to date.
Changes applied before test
commit ff0b60e84e404e9dc9bf93210d248f4a6f87b237
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri May 28 15:02:24 2021 +0200

    metadata: Fix UnboundLocalError in edge case
    
    This fixes occurrences of [1]
    
    [1] https://sentry.softwareheritage.org/share/issue/4b92519efe2a4ddd9455f0d600a614b9/

See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/178/ for more details.

This revision is now accepted and ready to land.May 28 2021, 3:27 PM

Build is green

Patch application report for D5798 (id=20717)

Rebasing onto 8fd4846af5...

Current branch diff-target is up to date.
Changes applied before test
commit cf598baacb1efdfdf205c57a902be9f06cd6c523
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri May 28 15:02:24 2021 +0200

    metadata: Fix UnboundLocalError in edge case
    
    This fixes occurrences of [1]
    
    [1] https://sentry.softwareheritage.org/share/issue/4b92519efe2a4ddd9455f0d600a614b9/

See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/180/ for more details.