@@ -54,6 +54,7 @@ if __name__ == '__main__':
5454
5555 afile .write (signature )
5656 vfile .write (signature )
57+ vfile .write ("%s anything\n " % settings .GROUP_VIRTUAL_DOMAIN )
5758
5859 wgs = Group .objects .filter (type = 'wg' ).all ()
5960
@@ -66,8 +67,8 @@ if __name__ == '__main__':
6667
6768 for wg in interesting_wgs .distinct ().iterator ():
6869 name = wg .acronym
69- dump_sublist (afile , vfile , name + '-ads' , get_group_ads_emails (wg ))
70- dump_sublist (afile , vfile , name + '-chairs' , get_group_chairs_emails (wg ))
70+ dump_sublist (afile , vfile , name + '-ads' , settings . GROUP_VIRTUAL_DOMAIN , get_group_ads_emails (wg ))
71+ dump_sublist (afile , vfile , name + '-chairs' , settings . GROUP_VIRTUAL_DOMAIN , get_group_chairs_emails (wg ))
7172
7273 # - status = Active
7374 rgs = Group .objects .filter (type = 'rg' ).all ()
@@ -80,14 +81,14 @@ if __name__ == '__main__':
8081 for rg in interesting_rgs .distinct ().iterator ():
8182 name = rg .acronym
8283 #dump_sublist('%s%s' % (name, '-ads'), get_group_ads_emails, rg, True)
83- dump_sublist (afile , vfile , name + '-chairs' , get_group_chairs_emails (rg ))
84+ dump_sublist (afile , vfile , name + '-chairs' , settings . GROUP_VIRTUAL_DOMAIN , get_group_chairs_emails (rg ))
8485
8586 # Additionally, for areaz, we should list -ads and -chairs
8687 # (for every chair in active groups within the area).
8788 areas = Group .objects .filter (type = 'area' ).all ()
8889 active_areas = areas .filter (state__in = ACTIVE_STATES )
8990 for area in active_areas :
9091 name = area .acronym
91- dump_sublist (afile , vfile , name + '-ads' , get_area_ads_emails (area ))
92- dump_sublist (afile , vfile , name + '-chairs' , get_area_chairs_emails (area ))
92+ dump_sublist (afile , vfile , name + '-ads' , settings . GROUP_VIRTUAL_DOMAIN , get_area_ads_emails (area ))
93+ dump_sublist (afile , vfile , name + '-chairs' , settings . GROUP_VIRTUAL_DOMAIN , get_area_chairs_emails (area ))
9394
0 commit comments