Bug in printing lists in Python gadget

svn: r9620
This commit is contained in:
Doug Blank 2007-12-29 03:46:30 +00:00
parent 7a607fe6ff
commit 930e5c77ad

View File

@ -347,7 +347,7 @@ class PythonGadget(Gadget):
if "_retval" in self.env:
_retval = self.env["_retval"]
if _retval != None:
self.append_text("%s\n" % _retval)
self.append_text("%s\n" % str(_retval))
self.append_text("> ")
else:
self.append_text("> ")