From 82aeb5bd1349a99504d6eb7aca288e7c265ec9d8 Mon Sep 17 00:00:00 2001 From: Dan Jacques Date: Fri, 25 Aug 2017 14:27:15 -0700 Subject: [PATCH] [bot_update] Print Python version. Print the Python version during "bot_update". This is useful for visually auditing the environment in which things are running. BUG=None TEST=None R=iannucci@chromium.org Change-Id: I92be8a888e6f1e5c17205665dff36378e641cd81 Reviewed-on: https://chromium-review.googlesource.com/636450 Reviewed-by: Robbie Iannucci Commit-Queue: Daniel Jacques --- recipes/recipe_modules/bot_update/resources/bot_update.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/recipe_modules/bot_update/resources/bot_update.py b/recipes/recipe_modules/bot_update/resources/bot_update.py index abf55f17a..405d44635 100755 --- a/recipes/recipe_modules/bot_update/resources/bot_update.py +++ b/recipes/recipe_modules/bot_update/resources/bot_update.py @@ -1019,6 +1019,7 @@ def prepare(options, git_slns, active): def checkout(options, git_slns, specs, revisions, step_text, shallow): + print 'Using Python version: %s' % (sys.version,) print 'Checking git version...' ver = git('version').strip() print 'Using %s' % ver