summaryrefslogtreecommitdiff
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-21 12:29:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-21 22:26:26 +0100
commitd13f0ac614f1d1e2ef2c8ddc71cbfcf76a8dc3f2 (patch)
tree79a30ec956b41355e9b863f0e18290f29abe4514 /meta/classes/base.bbclass
parent96ed92aded49fc47c7e407d36ba4f03dafee28cd (diff)
downloadopenembedded-core-d13f0ac614f1d1e2ef2c8ddc71cbfcf76a8dc3f2.tar.gz
openembedded-core-d13f0ac614f1d1e2ef2c8ddc71cbfcf76a8dc3f2.tar.bz2
openembedded-core-d13f0ac614f1d1e2ef2c8ddc71cbfcf76a8dc3f2.zip
meta: Update to modern exception syntax
Update older exception syntax to modern one required by python 3. Compatible with python 2.7. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index c3c2669939..4be0a7e487 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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"