Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1596)

Unified Diff: mojo/devtools/common/devtoolslib/android_shell.py

Issue 1861223002: devtools: flush stdout after printing android observatory address. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/devtoolslib/android_shell.py
diff --git a/mojo/devtools/common/devtoolslib/android_shell.py b/mojo/devtools/common/devtoolslib/android_shell.py
index ca7d5c17b06f78e5601093c4742ba23185cfa4ee..daa244319892fb0e2f639e6cdff89bd4d752e926 100644
--- a/mojo/devtools/common/devtoolslib/android_shell.py
+++ b/mojo/devtools/common/devtoolslib/android_shell.py
@@ -395,6 +395,7 @@ class AndroidShell(Shell):
host_port = self._forward_host_port_to_device(0, device_port)
print ('Dart observatory available at the host at http://127.0.0.1:%d'
% host_port)
+ sys.stdout.flush()
logcat_watch_thread = threading.Thread(
target=_forward_observatories_as_needed)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698