use str.format-style placeholder in mail template
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
cdb0b03ea4
commit
59ded2d591
2 changed files with 2 additions and 2 deletions
|
@ -689,7 +689,7 @@ def main():
|
|||
env['email_from'],
|
||||
env['notify_emails'],
|
||||
'Errors while syncing bugzilla with the PackageDB',
|
||||
env['tmpl_admin_email'] % ('\n'.join(errors),))
|
||||
env['tmpl_admin_email'].format(errors='\n'.join(errors))
|
||||
)
|
||||
else:
|
||||
with open(env['data_cache'], 'w') as stream:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue