1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

meta: Update to modern exception syntax

Update older exception syntax to modern one required by python 3.
Compatible with python 2.7.

(From OE-Core rev: d13f0ac614f1d1e2ef2c8ddc71cbfcf76a8dc3f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2016-05-21 12:29:16 +01:00
parent 01d07f328f
commit 3ddde5f32a
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -661,7 +661,7 @@ python do_cleanall() {
try:
fetcher = bb.fetch2.Fetch(src_uri, d)
fetcher.clean()
except bb.fetch2.BBFetchException, e:
except bb.fetch2.BBFetchException as e:
raise bb.build.FuncFailed(e)
}
do_cleanall[nostamp] = "1"