summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/widgets.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-09-28 21:45:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 14:11:36 +0100
commitc71bbad38ac65c2e439606a86b05f7112e6fa57e (patch)
treeb4fef25b31bb602679eedcf11df4c98746e8ec3e /bitbake/lib/toaster/toastergui/widgets.py
parent934f8d7b23bfcaf7d06a5fe475f7988ff9240f9d (diff)
downloadpoky-c71bbad38ac65c2e439606a86b05f7112e6fa57e.tar.gz
bitbake: toaster: widgets ToasterTable add logger to notify when cache hit
Useful for debugging to remind you if you're hitting a cache or not (Bitbake rev: 68b9c2d95ab17ee2d16325862342126eb5c3c1a7) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
-rw-r--r--bitbake/lib/toaster/toastergui/widgets.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py
index eb4969214f..7f9637060d 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.py
@@ -38,6 +38,9 @@ import collections
38import operator 38import operator
39import re 39import re
40 40
41import logging
42logger = logging.getLogger("toaster")
43
41from toastergui.views import objtojson 44from toastergui.views import objtojson
42 45
43class ToasterTable(TemplateView): 46class ToasterTable(TemplateView):
@@ -264,6 +267,7 @@ class ToasterTable(TemplateView):
264 data = cache.get(cache_name) 267 data = cache.get(cache_name)
265 268
266 if data: 269 if data:
270 logger.debug("Got cache data for table '%s'" % self.title)
267 return data 271 return data
268 272
269 self.setup_columns(**kwargs) 273 self.setup_columns(**kwargs)