diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 2b38065de2..8f79c4f72c 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -708,8 +708,8 @@ class BBCooker: | |||
708 | failures = 0 | 708 | failures = 0 |
709 | try: | 709 | try: |
710 | retval = rq.execute_runqueue() | 710 | retval = rq.execute_runqueue() |
711 | except runqueue.TaskFailure, fnids: | 711 | except runqueue.TaskFailure as exc: |
712 | for fnid in fnids: | 712 | for fnid in exc.args: |
713 | bb.msg.error(bb.msg.domain.Build, "'%s' failed" % taskdata.fn_index[fnid]) | 713 | bb.msg.error(bb.msg.domain.Build, "'%s' failed" % taskdata.fn_index[fnid]) |
714 | failures = failures + 1 | 714 | failures = failures + 1 |
715 | retval = False | 715 | retval = False |
@@ -744,8 +744,8 @@ class BBCooker: | |||
744 | failures = 0 | 744 | failures = 0 |
745 | try: | 745 | try: |
746 | retval = rq.execute_runqueue() | 746 | retval = rq.execute_runqueue() |
747 | except runqueue.TaskFailure, fnids: | 747 | except runqueue.TaskFailure as exc: |
748 | for fnid in fnids: | 748 | for fnid in exc.args: |
749 | bb.msg.error(bb.msg.domain.Build, "'%s' failed" % taskdata.fn_index[fnid]) | 749 | bb.msg.error(bb.msg.domain.Build, "'%s' failed" % taskdata.fn_index[fnid]) |
750 | failures = failures + 1 | 750 | failures = failures + 1 |
751 | retval = False | 751 | retval = False |