EduploneExam/answers FreeTextAnswer.py,1.16,1.17

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-serv4644/answers

Modified Files:
	FreeTextAnswer.py 
Log Message:
it starts to grow skin..... 

Index: FreeTextAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/FreeTextAnswer.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** FreeTextAnswer.py	15 Dec 2004 16:07:52 -0000	1.16
--- FreeTextAnswer.py	16 Dec 2004 11:14:49 -0000	1.17
***************
*** 99,109 ****
      #methods from Interface IExamAnswer
  
!     def processValue(self):
          '''
! 
          '''
! 
!         pass
! 
  
  
--- 99,112 ----
      #methods from Interface IExamAnswer
  
!     def processValue(self, value=''):
          '''
!         value is some text. processValue tests all words 
!         from self.correct for existence 
          '''
!         for word in self.getCorrect():
!             if word in value:
!                 return True
!             else:
!                 return False
  
  



-------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.