summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build.py
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-02 11:45:49 +0100
commit874a269eb1d70060c2f3b3f8b70800e2aea789f4 (patch)
treecf18ec2ca7e6b04121c023499326f0057a16b82c /scripts/lib/devtool/build.py
parent0c856653ce65403791e1e5c78229820ff794bae3 (diff)
downloadopenembedded-core-contrib-874a269eb1d70060c2f3b3f8b70800e2aea789f4.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. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build.py')
-rw-r--r--scripts/lib/devtool/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/build.py b/scripts/lib/devtool/build.py
index 48f6fe1be55..6be549dd591 100644
--- a/scripts/lib/devtool/build.py
+++ b/scripts/lib/devtool/build.py
@@ -27,7 +27,7 @@ logger = logging.getLogger('devtool')
def _set_file_values(fn, values):
- remaining = values.keys()
+ remaining = list(values.keys())
def varfunc(varname, origvalue, op, newlines):
newvalue = values.get(varname, origvalue)