don't add extra newlines in error handler

This commit is contained in:
Damien Elmes 2011-03-27 15:23:07 +09:00
parent bfa594a5d0
commit d25bfd0e58

View file

@ -23,7 +23,7 @@ class ErrorHandler(QObject):
if not isinstance(data, unicode):
data = unicode(data, "utf8", "replace")
# dump to stdout
print data.encode("utf-8")
sys.stdout.write(data.encode("utf-8"))
# save in buffer
self.pool += data
# and update timer