From b9f7f8a8132954347f0103a2d8eb8c4a81b20903 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 23 Jun 2018 19:20:51 +0300 Subject: Fix: use consistent tense for build/action start/end messages --- ick2/workapi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ick2/workapi.py b/ick2/workapi.py index 6fcc107..d861a48 100644 --- a/ick2/workapi.py +++ b/ick2/workapi.py @@ -68,7 +68,7 @@ class WorkAPI(ick2.APIbase): sm.handle_event(ick2.BuildStartsEvent()) self._append_text_to_build_log( log, - 'Build started at {}\n'.format( + 'Build starts at {}\n'.format( time.strftime('%Y-%m-%d %H:%M:%S'))) resp = sm.handle_event(ick2.NeedWorkEvent()) @@ -165,14 +165,14 @@ class WorkAPI(ick2.APIbase): if action_ended: self._append_text_to_build_log( log, - 'Action ended at {}, exit code {}\n'.format( + 'Action ends at {}, exit code {}\n'.format( time.strftime('%Y-%m-%d %H:%M:%S'), update['exit_code'])) if build_obj.is_finished(): # pragma: no cover self._append_text_to_build_log( log, - 'Build ended at {}, exit code {}\n'.format( + 'Build ends at {}, exit code {}\n'.format( time.strftime('%Y-%m-%d %H:%M:%S'), build['exit_code'])) -- cgit v1.2.1