Flushing on DEBUG messages.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 22 Feb 2010 20:13:41 +0000 (20:13 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 22 Feb 2010 20:13:41 +0000 (20:13 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@341 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFET.py

index 1eb8575..27ea0e5 100755 (executable)
@@ -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;