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 641316d1fa..196acdbb30 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -108,7 +108,7 @@ python base_do_fetch() { | |||
108 | try: | 108 | try: |
109 | fetcher = bb.fetch2.Fetch(src_uri, localdata) | 109 | fetcher = bb.fetch2.Fetch(src_uri, localdata) |
110 | fetcher.download() | 110 | fetcher.download() |
111 | except bb.fetch2.BBFetchException, e: | 111 | except bb.fetch2.BBFetchException as e: |
112 | raise bb.build.FuncFailed(e) | 112 | raise bb.build.FuncFailed(e) |
113 | } | 113 | } |
114 | 114 | ||
@@ -128,7 +128,7 @@ python base_do_unpack() { | |||
128 | try: | 128 | try: |
129 | fetcher = bb.fetch2.Fetch(src_uri, localdata) | 129 | fetcher = bb.fetch2.Fetch(src_uri, localdata) |
130 | fetcher.unpack(rootdir) | 130 | fetcher.unpack(rootdir) |
131 | except bb.fetch2.BBFetchException, e: | 131 | except bb.fetch2.BBFetchException as e: |
132 | raise bb.build.FuncFailed(e) | 132 | raise bb.build.FuncFailed(e) |
133 | } | 133 | } |
134 | 134 | ||