mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/tglx/remail.git
synced 2024-12-28 05:20:56 +01:00
config: Pass the incorrect mail address instead of the config path
Previously remail just logged the path of the attribute (e.g. base.lists.demo.listaccount.addr) instead of the actually mail address that wasn't valid. Signed-off-by: Andreas Rammhold <andreas@rammhold.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
a031afbb25
commit
79d26fccfe
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class account_config(object):
|
|||
base = base + '.addr'
|
||||
# Do at least minimal checks for a valid email address
|
||||
if not email_addr_valid(addr):
|
||||
txt = 'Invalid email address: %s' % base
|
||||
txt = 'Invalid email address: %s' % addr
|
||||
raise RemailListConfigException(txt)
|
||||
|
||||
self.addr = addr
|
||||
|
|
Loading…
Reference in a new issue