remail/lists: Emit warning text instead of 'txt'

'txt' is pretty useless in syslog and admin reports.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2020-02-20 12:42:50 +01:00
parent fa1e6fc47e
commit 342d696b2b

View file

@ -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