diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-20 12:42:50 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-02-20 12:42:50 +0100 |
commit | 342d696b2b95cdf8624102f1f28e8911992522ff (patch) | |
tree | 46a90143f36771bbe25445177f8a96785aa86f0f | |
parent | fa1e6fc47e52caffbe5dfee3ce1b080c18af7c52 (diff) | |
download | remail-342d696b2b95cdf8624102f1f28e8911992522ff.tar.gz |
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>
-rw-r--r-- | remail/maillist.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |