EduploneExam/answers TextLineAnswer.py,1.14,1.15

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

Modified Files:
	TextLineAnswer.py 
Log Message:
minor fixes, interface-work and corrections on the result-views

Index: TextLineAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/TextLineAnswer.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** TextLineAnswer.py	18 Dec 2004 14:04:22 -0000	1.14
--- TextLineAnswer.py	27 Dec 2004 11:31:47 -0000	1.15
***************
*** 100,103 ****
--- 100,106 ----
          
          '''
+         if value==None: 
+             value=''
+             
          if not self.caseSensitive:
              li=[]
***************
*** 109,114 ****
          else:
              li=self.correct
              
!         if value and value in li: 
              return True
          else: 
--- 112,118 ----
          else:
              li=self.correct
+ 
              
!         if value in li: 
              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/
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.