diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 83050e4c1f..324eef28a7 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -437,11 +437,10 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []): | |||
437 | success = True | 437 | success = True |
438 | except bb.process.NotFoundError as e: | 438 | except bb.process.NotFoundError as e: |
439 | error_message = "Fetch command %s" % (e.command) | 439 | error_message = "Fetch command %s" % (e.command) |
440 | except bb.process.ExecutionError as e: | ||
441 | error_message = "Fetch command %s failed with exit code %s, output:\nSTDOUT: %s\nSTDERR: %s" % (e.command, e.exitcode, e.stdout, e.stderr) | ||
440 | except bb.process.CmdError as e: | 442 | except bb.process.CmdError as e: |
441 | error_message = "Fetch command %s could not be run:\n%s" % (e.command, e.msg) | 443 | error_message = "Fetch command %s could not be run:\n%s" % (e.command, e.msg) |
442 | except bb.process.ExecutionError as e: | ||
443 | error_message = "Fetch command %s failed with exit code %s, output:\n%s" % (e.command, e.exitcode, e.stderr) | ||
444 | |||
445 | if not success: | 444 | if not success: |
446 | for f in cleanup: | 445 | for f in cleanup: |
447 | try: | 446 | try: |