EduploneTest/types EduploneFillGap.py,1.12,1.13

"Fabian K." <[email protected]> Fri, 07 Jan 2005 21:06:54 +0000
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneTest/types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11925

Modified Files:
	EduploneFillGap.py 
Log Message:
Fixed another ascii decode bug in FillGap

Index: EduploneFillGap.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneTest/types/EduploneFillGap.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** EduploneFillGap.py	6 Jan 2005 17:59:22 -0000	1.12
--- EduploneFillGap.py	7 Jan 2005 21:06:51 -0000	1.13
***************
*** 198,202 ****
  		for i, elem in enumerate(self.getText_to_render().replace("\n", "\n ").split(" ")):
  		    if elem.strip() == gap_tag:
! 			rendered_text += "%s " % self[gap_id].correctAnswer[0].strip()
  		    else:
  			rendered_text += "%s " % elem.strip()
--- 198,202 ----
  		for i, elem in enumerate(self.getText_to_render().replace("\n", "\n ").split(" ")):
  		    if elem.strip() == gap_tag:
! 			rendered_text += "%s " % self[gap_id].getCorrectAnswer()[0].strip()
  		    else:
  			rendered_text += "%s " % elem.strip()



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt