- File:
-
- 1 edited
-
asadb/groups/find_missing_transition.py (modified) (3 diffs)
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.