Check if the group has a proper email
This commit is contained in:
parent
635bea8688
commit
9f23ed1b7c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ else:
|
|||
emails.append(email_list[user])
|
||||
elif user.startswith('group::'):
|
||||
user = user.replace('group::', '')
|
||||
if user in group_mail:
|
||||
if user in group_mail and group_mail[user]:
|
||||
emails.append(group_mail[user])
|
||||
else:
|
||||
print >> sys.stderr, 'Strange user `%s`, not in '\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue