Page MenuHomeSoftware Heritage

launchpad: Prevent error due to origin listed twice
ClosedPublic

Authored by anlambert on Jan 28 2021, 7:10 PM.

Details

Summary

launchpadlib can list the last modified repository twice so ensure to yield
a single ListedOrigin model for that special case.

Related to T3003#57551

Diff Detail

Repository
rDLS Listers
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 D4966 (id=17725)

Rebasing onto 130ad7d73e...

Current branch diff-target is up to date.
Changes applied before test
commit 46f5a50099f926bdec44a4086848d1d55d204f49
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Jan 28 19:09:02 2021 +0100

    launchpad: Prevent error due to origin listed twice
    
    launchpadlib can list the last modified repository twice so ensure to yield
    a single ListedOrigin model for that special case.
    
    Related to T3003#57551

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

This revision is now accepted and ready to land.Jan 28 2021, 7:15 PM