Changeset 0dc771d
- Timestamp:
- Mar 14, 2012, 3:35:28 PM (14 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 72a3d90
- Parents:
- 18cc51c
- git-author:
- Alex Dehnert <adehnert@…> (03/14/12 15:35:28)
- git-committer:
- ASA Group Database <asa-db@…> (03/14/12 15:35:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/find_missing_transition.py
r2a587e4 r0dc771d 18 18 def get_roles(): 19 19 roles = [ 20 ['president', True, 'No president listed', ], 20 21 ['treasurer', True, 'No treasurer listed', ], 21 22 ['financial', False, 'No financial signatories listed. At minimum, this should generally be your president and treasurer.', ], … … 62 63 fail, problems = check_group(group, roles, ) 63 64 if fail: 64 to = [officers[group.pk]] 65 try: 66 to = [officers[group.pk]] 67 except KeyError: 68 print "Group %s not found in CSV" % (group, ) 65 69 if group.officer_email: 66 70 to.append(group.officer_email) … … 81 85 connection = mail.get_connection() 82 86 #connection.send_messages(emails) 83 for email in emails: print email.subject 87 for email in emails: 88 print email.subject 89 print email.body 84 90 print len(emails) 85 91
Note: See TracChangeset
for help on using the changeset viewer.