Warn about str.format() in toddlers config

The configuration does the right thing now, but add the warning
nonetheless, so subsequent changes are less likely to be breaking.

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2024-07-10 10:28:42 +02:00
parent 33cc3e0092
commit ba92fb5339

View file

@ -400,6 +400,7 @@ notify_emails = [
[consumer_config.distgit_commit_processor]
mail_from = "notifications@{{ env_prefix }}fedoraproject.org"
mail_to = "scm-commits@lists.{{ env_prefix }}fedoraproject.org"
# The templates are passed to str.format() => no quotes in dictionary keys!
# This is the default subject
# mail_subject_tmpl = "{message.summary}"
mail_content_tmpl = """Notification time stamped {headers[sent-at]}