Decode the output for the get_timestamp operation.

Change-Id: I31007dbbbe9c76f5e4aaf8aef0001979d05c1066
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3224017
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Auto-Submit: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
changes/17/3224017/3
Garrett Beaty 4 years ago committed by LUCI CQ
parent 592f005eb8
commit 4f272fd082

@ -334,7 +334,7 @@ class GitApi(recipe_api.RecipeApi):
step_test_data = lambda: self.m.raw_io.test_api.stream_output(test_data)
return self('show', commit, '--format=%at', '-s',
stdout=self.m.raw_io.output(),
step_test_data=step_test_data).stdout.rstrip()
step_test_data=step_test_data).stdout.rstrip().decode('utf-8')
def rebase(self, name_prefix, branch, dir_path, remote_name=None,
**kwargs):

Loading…
Cancel
Save