EduploneTest/types EduploneTestingEnvironment.py,1.13,1.14
Nils Haagen <[email protected]>
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneTest/types In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1656/types Modified Files: EduploneTestingEnvironment.py Log Message: fixed keyError in userResults for FreeText Index: EduploneTestingEnvironment.py =================================================================== RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneTestingEnvironment.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** EduploneTestingEnvironment.py 13 Oct 2004 15:48:20 -0000 1.13 --- EduploneTestingEnvironment.py 13 Oct 2004 19:21:38 -0000 1.14 *************** *** 406,411 **** inText=0 for ii in i.getCorrectAnswer():#alternatives of correctAnswer (i.e. different spelling...) ! if ii in uAnswer[questionId]: ! inText=1 correctAnswers += inText --- 406,412 ---- inText=0 for ii in i.getCorrectAnswer():#alternatives of correctAnswer (i.e. different spelling...) ! if uAnswer.has_key(questionId): ! if ii in uAnswer[questionId]: ! inText=1 correctAnswers += inText ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl