Changeset 435ceab
- Timestamp:
- Oct 17, 2011, 12:05:23 AM (14 years ago)
- Branches:
- master, space-access, stable, stage, test-hooks
- Children:
- 55ffcd1
- Parents:
- b6c7a44
- git-author:
- Alex Dehnert <adehnert@…> (09/28/11 12:50:41)
- git-committer:
- Alex Dehnert <adehnert@…> (10/17/11 00:05:23)
- Location:
- asadb
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/diffs.py
rb6c7a44 r435ceab 43 43 self.template = template 44 44 self.interesting_signatories = signatories 45 self.care_about_groups = True 46 self.care_about_signatories = True 45 47 46 48 def start_run(self, since, now, ): … … 92 94 message = "\n\n".join(self.updates) 93 95 signatories_message = "\n".join(self.signatory_updates) 94 if self.updates or self.signatory_updates:96 if (self.care_about_groups and self.updates) or (self.care_about_signatories and self.signatory_updates): 95 97 pass 96 98 else: … … 132 134 signatories=['president', 'treasurer', 'financial', ] 133 135 )) 136 sao_callback = StaticMailCallback( 137 fields=['name', 'abbreviation', 'officer_email', ], 138 address='funds@mit.edu', 139 template='groups/diffs/sao-update-mail.txt', 140 signatories=['president', 'treasurer', 'financial', ] 141 ) 142 sao_callback.care_about_groups = False 143 callbacks.append(sao_callback) 134 144 return callbacks 135 145
Note: See TracChangeset
for help on using the changeset viewer.