Flush every line of output.
Works better when the output is piped through "tee" to a file.
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user