]> code.ossystems Code Review - openembedded-core.git/commit
meta/scripts: python3: rename file -> open
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 May 2016 11:26:45 +0000 (12:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 May 2016 21:26:25 +0000 (22:26 +0100)
commit0f4ec13e11bb8abe21aba2a28547dfb9372bc377
treecb30f193e8193ab93bf520ffdccce4ab6b94198e
parentced1995694c394d92cb82fb9c25a33dc027a3b69
meta/scripts: python3: rename file -> open

file() API doesn't exist in python 3, convert to open(). Also handle
some cases where files aren't closed. Compatible with python 2.7.

[Contributions from Ed and Richard]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass
meta/lib/oe/qa.py
meta/lib/oe/tests/test_path.py
meta/recipes-devtools/apt/apt-native.inc
scripts/contrib/python/generate-manifest-2.7.py
scripts/contrib/python/generate-manifest-3.5.py
scripts/swabber-strace-attach