From 41d5392ce6a5f4a7a7566d8d38331f3e0eff4fb5 Mon Sep 17 00:00:00 2001
From: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date: Tue, 13 Dec 2016 13:05:42 +0100
Subject: [PATCH] ade: display sysroot versions in case of mismatch

Signed-off-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D5254
---
 tools/ade | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/ade b/tools/ade
index 366692c..fa1bdb2 100755
--- a/tools/ade
+++ b/tools/ade
@@ -467,7 +467,7 @@ class SysrootManager:
 
         # Don't fail on this check as it's broken for current images
         if installed.version != version:
-           logging.warning("Mismatch between installed version and expected one")
+           logging.warning("Mismatch between installed version ({0}) and expected one ({1})".format(installed.version, version))
 
         return installed
 
@@ -574,7 +574,7 @@ class SysrootManager:
 
         # Don't fail on this check as it's broken for current images
         if f.version != version:
-            logging.warning("Mismatch between downloaded version and expected one")
+            logging.warning("Mismatch between downloaded version ({0}) and expected one ({1})".format(f.version, version))
 
         return f
 
-- 
GitLab