aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Hart <matthew.hart@linaro.org>2015-08-12 10:46:10 +0100
committerMatt Hart <matthew.hart@linaro.org>2015-08-12 10:46:10 +0100
commitee98e174b96cc7d4f0ab2c9bb56e27c638292a9d (patch)
tree277d505745cbfc21bb1bff6bdfc7460fbc1b13be
parent5373ff75668a0a28125d32a9fa40681920b761a3 (diff)
downloadlinaro-git-tools-ee98e174b96cc7d4f0ab2c9bb56e27c638292a9d.tar.gz
check-git-repos: show refs diff to WARN log
Forgot to add this to last review, we decided that as the diffs should be much smaller now to output it whenever the script notices a difference Change-Id: I2e9b2d67a7f95be835bc16edc06574176d511dfa
-rwxr-xr-xcheck-git-repos.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/check-git-repos.py b/check-git-repos.py
index 035a8fa..9d835fb 100755
--- a/check-git-repos.py
+++ b/check-git-repos.py
@@ -78,8 +78,7 @@ def check_ref_status(path):
gitrefs = get_git_refs(path)
diff = set(filerefs.items()) ^ set(gitrefs.items())
if len(diff) > 0:
- log.warn("%s refs file out of date", path)
- log.debug("difference is: %s", diff)
+ log.warn("%s refs file out of date, diff: %s", path, diff)
ret, out = update_server_info(path)
if ret != 0 or out != "":
log.error("error processing %s, exited %i", path, ret)