# HG changeset patch # User Madhusudan.C.S # Date 1281085901 -19800 # Node ID 3d3e4e4afb61ea10186ac44274bdb0c53f447f63 # Parent 16d1aae679a448e9795ca2c9dd380bddcb72fd2b Fixed a blatant bug with the looping element in the send mail script for accommodation allotment. diff -r 16d1aae679a4 -r 3d3e4e4afb61 scripts/allot_acco.py --- a/scripts/allot_acco.py Fri Aug 06 14:25:40 2010 +0530 +++ b/scripts/allot_acco.py Fri Aug 06 14:41:41 2010 +0530 @@ -63,7 +63,7 @@ availability[2] -= 1 reg_info.save() - for participant in acco_given: + for participant in acco_rejected: reg_info = participant.participant.registrantinfo_set.get() reg_info.status_of_accomodation = '3' reg_info.save()