]> code.ossystems Code Review - openembedded-core.git/commit
wic: use new syntax of 'except' statement
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 4 May 2016 13:06:19 +0000 (16:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 May 2016 06:26:42 +0000 (07:26 +0100)
commit15e88714d6b0a93f72e8a19b083fcc1f2006e128
tree66afd5cbbade4edd114c4ef1e6f8d17b53a7a3f1
parent528a1f20939589949831efbb4de6336776efe7d5
wic: use new syntax of 'except' statement

New syntax 'except Exception as err' is supported by Python >= 2.7.
Old syntax 'except Exception, err' is not supported by Python 3.

Used new syntax to be able to run wic on Python 3.

[YOCTO #9412]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/imager/direct.py
scripts/lib/wic/plugin.py
scripts/lib/wic/utils/runner.py