diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-10 16:13:50 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:04 +0100 |
commit | 314541f60041adff40be32fdfa3f426133c657ca (patch) | |
tree | a59c265b4798d3449e7326f594b14a4465e91fcd /bitbake/lib/toaster/toastergui/tablefilter.py | |
parent | 96ce54315056ddba15b67d943a3778181b765bce (diff) | |
download | poky-314541f60041adff40be32fdfa3f426133c657ca.tar.gz |
bitbake: toaster: use items and range instead of old APIs
Used items() and range() APIs instead of iteritems() and
xrange() as latter don't exist in python 3
[YOCTO #9584]
(Bitbake rev: 372dd3abcb201bd9ac2c3189c5505d3578ce0dd0)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tablefilter.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tablefilter.py | 2 |
1 files changed, 1 insertions, 1 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 |