# HG changeset patch # User Thomas De Schampheleire # Date 1604613892 -3600 # Node ID 4cca6590f263c31834847657439fdb1c979a4fcd # Parent b4749d02192dba2eda225377c234059ea160283a model/comment: drop unused fields in email_kwargs Keep things as simple as possible. diff -r b4749d02192d -r 4cca6590f263 kallithea/model/comment.py --- a/kallithea/model/comment.py Thu Nov 05 22:41:09 2020 +0100 +++ b/kallithea/model/comment.py Thu Nov 05 23:04:52 2020 +0100 @@ -85,7 +85,6 @@ 'cs_target_repo': webutils.canonical_url('summary_home', repo_name=repo.repo_name), 'cs_comment_url': comment_url, 'cs_url': webutils.canonical_url('changeset_home', repo_name=repo.repo_name, revision=revision), - 'raw_id': revision, 'message': cs.message, 'message_short': shorter(cs.message, 50, firstline=True), 'cs_author': cs_author, @@ -93,7 +92,6 @@ 'repo_name': repo.repo_name, 'short_id': revision[:12], 'branch': cs.branch, - 'comment_username': author.username, 'threading': threading, } # pull request @@ -134,7 +132,6 @@ 'pr_owner': pull_request.owner, 'pr_owner_username': pull_request.owner.username, 'repo_name': pull_request.other_repo.repo_name, - 'comment_username': author.username, 'threading': threading, }