7977f15bcb6d8bdea3062a4055ea03a6d86eda3a
1 ##parameters=object=None
4 roles
= context
.valid_roles()
12 for member
in object.getAllMembersInRole(role
) :
13 if (member
.id not in recipientIds
) and member
.getProperty('email') :
14 membersInRole
.append(member
)
15 recipientIds
.append(member
.id)
17 rolesAndMembers
.append( (role
, membersInRole
) )
19 return rolesAndMembers