diff options
| author | Andrey <lopsin232@gmail.com> | 2026-11-24 17:24:13 +0300 |
|---|---|---|
| committer | Andrey <lopsin232@gmail.com> | 2026-11-24 17:24:13 +0300 |
| commit | 044d410cd3259fe2d2e43d5f7d87abf9ff84f14d (patch) | |
| tree | 5f4ade549f602640a141eccdde87672a518bee44 /tests/test_run_gpu_tests_python_assembler.py | |
| parent | d0da7dade8b688f2e0f7f23f4155d6cbb438809e (diff) | |
world_census: restore write mode before temporary directory cleanup in _staged_json (WORLD-CENSUS-STAGE-CLEANUP)
When staging JSON output in _staged_json, if the destination had read-only
permissions, the staged file received mode 0o444. If publishing fails or
raises an exception, resetting os.chmod to 0o600 in finally ensures
TemporaryDirectory cleanup does not fail with PermissionError on Windows.
agent: yes
AI-assisted: yes
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions