d225f32a99713c53e8bb992e7438d0221870aab2
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
.getId())
17 rolesAndMembers
.append( (role
, membersInRole
) )
19 return rolesAndMembers