diff --git a/swh/journal/backfill.py b/swh/journal/backfill.py --- a/swh/journal/backfill.py +++ b/swh/journal/backfill.py @@ -139,12 +139,7 @@ compatible objects. """ - revision = db_to_revision(revision) - if 'author' in revision and revision['author']: - del revision['author']['id'] - if 'committer' in revision and revision['committer']: - del revision['committer']['id'] - return revision + return db_to_revision(revision) def release_converter(db, release):