EduploneExam/answers BlindGapAnswer.py,1.27.2.1,1.27.2.2

Nils Haagen <[email protected]> Wed, 26 Oct 2005 13:56:47 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneExam/answers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24614/answers

Modified Files:
      Tag: exam-1_1
	BlindGapAnswer.py 
Log Message:
score gets calculated now

Index: BlindGapAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/BlindGapAnswer.py,v
retrieving revision 1.27.2.1
retrieving revision 1.27.2.2
diff -C2 -d -r1.27.2.1 -r1.27.2.2
*** BlindGapAnswer.py	2 Oct 2005 21:21:12 -0000	1.27.2.1
--- BlindGapAnswer.py	26 Oct 2005 13:56:45 -0000	1.27.2.2
***************
*** 103,107 ****
          else:
              for correctAnswer in self.getCorrect():
!                 if correctAnswer.lower() == value.lower():
                      return True
              return False
--- 103,107 ----
          else:
              for correctAnswer in self.getCorrect():
!                 if value and correctAnswer.lower() == value.lower():
                      return True
              return False



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information