EduploneExam/answers BlindGapAnswer.py,1.24,1.25 ChoiceGapAnswer.py,1.23,1.24

Nils Haagen <[email protected]> Sat, 02 Apr 2005 21:21:40 +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-serv23588/answers

Modified Files:
	BlindGapAnswer.py ChoiceGapAnswer.py 
Log Message:
fillgap is coming somewhere

Index: ChoiceGapAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/ChoiceGapAnswer.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** ChoiceGapAnswer.py	2 Apr 2005 15:07:27 -0000	1.23
--- ChoiceGapAnswer.py	2 Apr 2005 21:21:37 -0000	1.24
***************
*** 78,82 ****
              and sorts the list        
          '''
!         cleanOptions=self.getCorrect()
          for o in self.getOptions():
              cleanOptions.append(o)
--- 78,84 ----
              and sorts the list        
          '''
!         cleanOptions=[]
!         cleanOptions.append(self.getCorrect()) ##shouldn't correct be Lines, too?
!         
          for o in self.getOptions():
              cleanOptions.append(o)
***************
*** 86,91 ****
          return cleanOptions
      
      #methods from Interface IExamAnswer
- 
      def processValue(self, value=''):
          '''
--- 88,93 ----
          return cleanOptions
      
+     
      #methods from Interface IExamAnswer
      def processValue(self, value=''):
          '''

Index: BlindGapAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/answers/BlindGapAnswer.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** BlindGapAnswer.py	2 Apr 2005 15:07:27 -0000	1.24
--- BlindGapAnswer.py	2 Apr 2005 21:21:35 -0000	1.25
***************
*** 37,42 ****
  from Products.EduploneExam.registry import registerAnswerType
  
- from Products.EduploneExam.config import *
- 
  ##code-section module-header #fill in your manual code here
  ##/code-section module-header
--- 37,40 ----
***************
*** 124,128 ****
  
  
! registerType(BlindGapAnswer,PROJECTNAME)
  # end of class BlindGapAnswer
  
--- 122,126 ----
  
  
! registerType(BlindGapAnswer)
  # end of class BlindGapAnswer
  



-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click