mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Move the log message up a line to make sure it appears before the actual
output. R=maruel@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/344007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@30307 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@@ -220,11 +220,11 @@ def SubprocessCallAndFilter(command,
|
||||
while in_byte:
|
||||
if in_byte != "\r":
|
||||
if print_stdout:
|
||||
sys.stdout.write(in_byte)
|
||||
if not print_messages:
|
||||
print("\n________ running \'%s\' in \'%s\'"
|
||||
% (' '.join(command), in_directory))
|
||||
print_messages = True
|
||||
sys.stdout.write(in_byte)
|
||||
if in_byte != "\n":
|
||||
in_line += in_byte
|
||||
if in_byte == "\n" and filter:
|
||||
|
||||
Reference in New Issue
Block a user