aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-ximport_issues.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/import_issues.py b/import_issues.py
index c1dbc21..2f02a6d 100755
--- a/import_issues.py
+++ b/import_issues.py
@@ -191,7 +191,7 @@ def do_mail(
else:
raise ValueError(f"Unhandled mode {mode!r}.")
- log.info(f"{verb} email #{email_count}.")
+ log.info("%s email #%d.", verb, email_count)
date = format_datetime(datetime.now(timezone.utc))
msg_id = make_msgid()
@@ -845,7 +845,7 @@ def main():
assert smtp_user, f"No SMTP user given."
assert smtp_password, f"No SMTP password given."
- log.info(f"Connecting to {smtp_host}:{smtp_port}, user {smtp_user!r}.")
+ log.info("Connecting to %s:%d, user %r.", smtp_host, smtp_port, smtp_user)
if smtp_ssl:
smtp = smtplib.SMTP_SSL(host=smtp_host, port=smtp_port)