mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/tglx/remail.git
synced 2024-11-25 13:52:38 +01:00
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:
parent
fa1e6fc47e
commit
342d696b2b
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class maillist(object):
|
||||||
if acc.enabled:
|
if acc.enabled:
|
||||||
acc.enabled = False
|
acc.enabled = False
|
||||||
txt = 'Freezing account due to permanent failure %s\n' % addr
|
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)
|
self.tracking.freeze_account(acc)
|
||||||
else:
|
else:
|
||||||
txt = 'Trying to freeze non existing account %s.\n' % addr
|
txt = 'Trying to freeze non existing account %s.\n' % addr
|
||||||
|
|
Loading…
Reference in a new issue