| Message ID | 20260322193440.870120-3-adrian.freihofer@siemens.com |
|---|---|
| State | New |
| Headers | show |
| Series | bitbake-setup: improvements, VSCode workspace generation | expand |
diff --git a/bin/bitbake-setup b/bin/bitbake-setup index dcad9c169..e8d520687 100755 --- a/bin/bitbake-setup +++ b/bin/bitbake-setup @@ -793,9 +793,11 @@ def do_fetch(fetcher, dir): with open(fetchlog, 'a') as f: oldstdout = sys.stdout sys.stdout = f - fetcher.download() - fetcher.unpack_update(dir) - sys.stdout = oldstdout + try: + fetcher.download() + fetcher.unpack_update(dir) + finally: + sys.stdout = oldstdout def update_registry(registry, cachedir, d): registrydir = 'configurations'