Page MenuHomeSoftware Heritage

logger: only flatten dicts if all keys are strings
ClosedPublic

Authored by olasd on Nov 13 2019, 5:28 PM.

Details

Summary

This avoids blowing up when passing complex arguments (e.g. full
snapshots) to logging.debug

Test Plan

tox

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.