Flush every line of output.

Works better when the output is piped through "tee" to a file.
This commit is contained in:
Andy McFadden
2009-08-31 13:38:35 -07:00
parent 88ad7c5d46
commit 9611ceb460

View File

@@ -217,6 +217,7 @@ if __name__ == '__main__':
SymbolTranslation(groups) SymbolTranslation(groups)
else: else:
print line print line
sys.stdout.flush()
# adb itself aborts # adb itself aborts
stream.close() stream.close()