summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/widgets.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py
index f5a1b3e7b9..e257c702eb 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.py
@@ -36,6 +36,7 @@ import types
36import json 36import json
37import collections 37import collections
38import operator 38import operator
39import re
39 40
40from toastergui.views import objtojson 41from toastergui.views import objtojson
41 42
@@ -251,10 +252,12 @@ class ToasterTable(TemplateView):
251 for key, val in kwargs.iteritems(): 252 for key, val in kwargs.iteritems():
252 cache_name = cache_name + str(key) + str(val) 253 cache_name = cache_name + str(key) + str(val)
253 254
255 # No special chars allowed in the cache name
256 cache_name = re.sub(r'[^A-Za-z0-9]', "", cache_name)
254 data = cache.get(cache_name) 257 data = cache.get(cache_name)
255 258
256 #if data: 259 if data:
257 # return data 260 return data
258 261
259 self.setup_columns(**kwargs) 262 self.setup_columns(**kwargs)
260 263