Page MenuHomeSoftware Heritage

launchpad: Remove call to dataclasses.asdict on lister state
ClosedPublic

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

Details

Summary

This generates an error due to the datetime type field, so manually build
the dict instead.

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 D4967 (id=17727)

Rebasing onto 46f5a50099...

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

    launchpad: Remove call to dataclasses.asdict on lister state
    
    This generates an error due to the datetime type field, so manually build
    the dict instead.
    
    Related to T3003#57551

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

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