diff --git a/distgit_bugzilla_sync/default-config-files/configuration.toml b/distgit_bugzilla_sync/default-config-files/configuration.toml index 6c2b33e..95fe56d 100644 --- a/distgit_bugzilla_sync/default-config-files/configuration.toml +++ b/distgit_bugzilla_sync/default-config-files/configuration.toml @@ -30,7 +30,7 @@ tmpl_admin_email = """ The following errors were encountered while updating bugzilla with information from the Package Database. Please have the problems taken care of: -%s +{errors} """ # User email for invalid setup diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index 2b61021..57337d4 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -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: