I'm not planning to change this one.  But I changed the other ones and will resubmit.

On Mar 18, 2013, at 10:26 PM, Sef Kloninger <notifications@github.com> wrote:

> In main/courses/exams/tasks.py:
> 
> > +
> > +@task()
> > +def generate_submission_csv_task(course_id, exam_id, email_to):
> > +    
> > +    course = Course.objects.get(id=course_id)
> > +    exam = Exam.objects.get(id=exam_id)
> > +    
> > +    course_prefix = course.prefix
> > +    course_suffix = course.suffix
> > +    exam_slug = exam.slug
> > +    
> > +    submitters = ExamRecord.objects.filter(exam=exam, complete=True, time_created__lt=exam.grace_period).values('student').distinct()
> > +    fname = course_prefix+"-"+course_suffix+"-"+exam_slug+"-"+datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")+".csv"
> > +    outfile = open(FILE_DIR+"/"+fname,"w+")
> > +    
> > +    could_not_parse = ""
> nit: list instead of string would be cleaner and more efficient.
> 
> —
> Reply to this email directly or view it on GitHub.
>