summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui')
-rw-r--r--bitbake/lib/toaster/toastergui/tablefilter.py2
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py2
-rw-r--r--bitbake/lib/toaster/toastergui/widgets.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/tablefilter.py b/bitbake/lib/toaster/toastergui/tablefilter.py
index 9d15bcff0d..65454e140d 100644
--- a/bitbake/lib/toaster/toastergui/tablefilter.py
+++ b/bitbake/lib/toaster/toastergui/tablefilter.py
@@ -286,7 +286,7 @@ class TableFilterMap(object):
286 def to_json(self, queryset): 286 def to_json(self, queryset):
287 data = {} 287 data = {}
288 288
289 for filter_name, table_filter in self.__filters.iteritems(): 289 for filter_name, table_filter in self.__filters.items():
290 data[filter_name] = table_filter.to_json() 290 data[filter_name] = table_filter.to_json()
291 291
292 return data 292 return data
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 22d1a0ce6a..b256db7b44 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2279,7 +2279,7 @@ if True:
2279 # Strip trailing/leading whitespace from all values 2279 # Strip trailing/leading whitespace from all values
2280 # put into a new dict because POST one is immutable 2280 # put into a new dict because POST one is immutable
2281 post_data = dict() 2281 post_data = dict()
2282 for key,val in request.POST.iteritems(): 2282 for key,val in request.POST.items():
2283 post_data[key] = val.strip() 2283 post_data[key] = val.strip()
2284 2284
2285 2285
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py
index 0f103505b2..c02f9f56ae 100644
--- a/bitbake/lib/toaster/toastergui/widgets.py
+++ b/bitbake/lib/toaster/toastergui/widgets.py
@@ -281,12 +281,12 @@ class ToasterTable(TemplateView):
281 # Make a unique cache name 281 # Make a unique cache name
282 cache_name = self.__class__.__name__ 282 cache_name = self.__class__.__name__
283 283
284 for key, val in request.GET.iteritems(): 284 for key, val in request.GET.items():
285 if key == 'nocache': 285 if key == 'nocache':
286 continue 286 continue
287 cache_name = cache_name + str(key) + str(val) 287 cache_name = cache_name + str(key) + str(val)
288 288
289 for key, val in kwargs.iteritems(): 289 for key, val in kwargs.items():
290 cache_name = cache_name + str(key) + str(val) 290 cache_name = cache_name + str(key) + str(val)
291 291
292 # No special chars allowed in the cache name apart from dash 292 # No special chars allowed in the cache name apart from dash