nit delete redundant catch/raise in execute

Remove redundant exception handling in chdir
This commit is contained in:
Andrej 2025-10-29 08:10:03 -07:00 committed by GitHub
commit 1ccbaf4416
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,8 +127,6 @@ def chdir(root):
os.chdir(root)
try:
yield
except BaseException as exc:
raise exc
finally:
os.chdir(cwd)