From 1f6c7b2813029e03a2531fe55c2f84fa51c87975 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 23 Jun 2018 18:58:16 +0300 Subject: Change: when an action starts, give timestamp --- ick2/workapi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ick2') diff --git a/ick2/workapi.py b/ick2/workapi.py index 1dc9e81..f61a23b 100644 --- a/ick2/workapi.py +++ b/ick2/workapi.py @@ -99,7 +99,8 @@ class WorkAPI(ick2.APIbase): self._append_text_to_build_log( log, - 'Giving worker action:\n{}\n'.format( + 'Giving worker action at {}:\n{}\n'.format( + time.strftime('%Y-%m-%d %H:%M:%S'), json.dumps(doing, indent=4))) ick2.log.log( -- cgit v1.2.1