EduploneExam/answers MathAnswer.py,1.4,1.5
Nils Haagen <[email protected]>
| 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-serv14749
Modified Files:
MathAnswer.py
Log Message:
Index: MathAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/MathAnswer.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MathAnswer.py 14 Dec 2004 14:40:14 -0000 1.4
--- MathAnswer.py 14 Dec 2004 14:40:40 -0000 1.5
***************
*** 98,102 ****
'''
range = [self.correct-self.tolerance:self.correct-self.tolerance]
! if value and float(value) and float(value) > range[0] and float(value) < range[1] range[1] :
return True
else:
--- 98,102 ----
'''
range = [self.correct-self.tolerance:self.correct-self.tolerance]
! if value and float(value) and float(value) > range[0] and float(value) < range[1] :
return True
else:
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/