diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 641316d1fa4..196acdbb303 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -108,7 +108,7 @@ python base_do_fetch() { try: fetcher = bb.fetch2.Fetch(src_uri, localdata) fetcher.download() - except bb.fetch2.BBFetchException, e: + except bb.fetch2.BBFetchException as e: raise bb.build.FuncFailed(e) } @@ -128,7 +128,7 @@ python base_do_unpack() { try: fetcher = bb.fetch2.Fetch(src_uri, localdata) fetcher.unpack(rootdir) - except bb.fetch2.BBFetchException, e: + except bb.fetch2.BBFetchException as e: raise bb.build.FuncFailed(e) } |