summaryrefslogtreecommitdiffstats
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:33 +0100
commit3ddde5f32afe9225994df607f6b8dfcc58f6bdc7 (patch)
tree852bf239ca9347f8c78b3f1ccc7433f8ba36517d /meta/classes/base.bbclass
parent01d07f328fb2644169eda5dbffaf2b6117696959 (diff)
downloadpoky-3ddde5f32afe9225994df607f6b8dfcc58f6bdc7.tar.gz
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>
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() {
661 try: 661 try:
662 fetcher = bb.fetch2.Fetch(src_uri, d) 662 fetcher = bb.fetch2.Fetch(src_uri, d)
663 fetcher.clean() 663 fetcher.clean()
664 except bb.fetch2.BBFetchException, e: 664 except bb.fetch2.BBFetchException as e:
665 raise bb.build.FuncFailed(e) 665 raise bb.build.FuncFailed(e)
666} 666}
667do_cleanall[nostamp] = "1" 667do_cleanall[nostamp] = "1"