quixote/form widget.py,1.28,1.29

Greg Ward <gward-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]>
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Update of /home/cvs/quixote/form
In directory hewson:/tmp/cvs-serv15553

Modified Files:
	widget.py 
Log Message:
Ensure FormValueError.__str__() always returns a string.

Index: widget.py
===================================================================
RCS file: /home/cvs/quixote/form/widget.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- widget.py	23 Oct 2002 19:58:58 -0000	1.28
+++ widget.py	23 Oct 2002 20:25:04 -0000	1.29
@@ -20,7 +20,7 @@
         self.msg = msg
 
     def __str__ (self):
-        return self.msg
+        return str(self.msg)
 
 
 class Widget:
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.