summaryrefslogtreecommitdiffstats
path: root/scripts/oe-pkgdata-util
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-02 13:12:47 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:28 +0100
commit07c97db27288cf806900b13e55fe37e4bf22e889 (patch)
treebf116c101f365c8dc438b72aa9499feabea2ef66 /scripts/oe-pkgdata-util
parent1132970f0e1a9e9a2135549b8512f58af80aa5c4 (diff)
downloadpoky-07c97db27288cf806900b13e55fe37e4bf22e889.tar.gz
scripts: python3: convert iterables to lists
Converted return value of items() keys() and values() to lists when dictionary is modified in the loop and when the result is added to the list. (From OE-Core rev: 874a269eb1d70060c2f3b3f8b70800e2aea789f4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-pkgdata-util')
-rwxr-xr-xscripts/oe-pkgdata-util2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util
index b39d9b566c..b16ecc9e74 100755
--- a/scripts/oe-pkgdata-util
+++ b/scripts/oe-pkgdata-util
@@ -240,7 +240,7 @@ def lookup_pkg(args):
240 sys.exit(1) 240 sys.exit(1)
241 241
242 if args.reverse: 242 if args.reverse:
243 items = mappings.values() 243 items = list(mappings.values())
244 else: 244 else:
245 items = [] 245 items = []
246 for pkg in pkgs: 246 for pkg in pkgs: