From 5d5f93016a718c2cf7230dafbf967adcfe31a3b5 Mon Sep 17 00:00:00 2001 From: travisutk Date: Mon, 22 Feb 2010 20:13:41 +0000 Subject: [PATCH] Flushing on DEBUG messages. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@341 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFET.py | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1