From 342d696b2b95cdf8624102f1f28e8911992522ff Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 20 Feb 2020 12:42:50 +0100 Subject: [PATCH] remail/lists: Emit warning text instead of 'txt' 'txt' is pretty useless in syslog and admin reports. Signed-off-by: Thomas Gleixner --- remail/maillist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remail/maillist.py b/remail/maillist.py index c970730..64fdfaf 100644 --- a/remail/maillist.py +++ b/remail/maillist.py @@ -161,7 +161,7 @@ class maillist(object): if acc.enabled: acc.enabled = False txt = 'Freezing account due to permanent failure %s\n' % addr - self.logger.log_warn('txt') + self.logger.log_warn(txt) self.tracking.freeze_account(acc) else: txt = 'Trying to freeze non existing account %s.\n' % addr