From: travisutk Date: Mon, 22 Feb 2010 20:13:41 +0000 (+0000) Subject: Flushing on DEBUG messages. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=5d5f93016a718c2cf7230dafbf967adcfe31a3b5 Flushing on DEBUG messages. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@341 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- diff --git a/client/GoodFET.py b/client/GoodFET.py index 1eb8575..27ea0e5 100755 --- a/client/GoodFET.py +++ b/client/GoodFET.py @@ -109,6 +109,7 @@ class GoodFET: #Debugging string; print, but wait. if self.app==0xFF and self.verb==0xFF: print "# DEBUG %s" % self.serialport.read(self.count); + sys.stdout.flush(); else: self.data=self.serialport.read(self.count); return self.data;