Page MenuHomeSoftware Heritage

Fix TypeError when accessing the API root
ClosedPublic

Authored by vlorentz on Aug 5 2021, 2:46 PM.

Details

Summary

DRF sometimes passes a 'format' argument, which causes many errors
in the logs.

Diff Detail

Repository
rDDEP Push deposit
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 D6059 (id=21920)

Rebasing onto 51d5c9998c...

Current branch diff-target is up to date.
Changes applied before test
commit 573df1cc3d46a91afd2f1bc7214fa6dcd69c748a
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Aug 5 14:45:48 2021 +0200

    Fix TypeError when accessing the API root
    
    DRF sometimes passes a 'format' argument, which causes many errors
    in the logs.

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

This revision is now accepted and ready to land.Aug 5 2021, 2:50 PM