Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jobserver.py: fix very rare python3 failure reported by a user.
Traceback (most recent call last): File "/nix/store/i0835myyhrfr13lh4y26r58406kk90xj-redo-apenwarr-0.42a/bin/../lib/redo/cmd_ifchange.py", line 54, in main jobserver.force_return_tokens() File "/nix/store/i0835myyhrfr13lh4y26r58406kk90xj-redo-apenwarr-0.42a/bin/../lib/redo/jobserver.py", line 482, in force_return_tokens os.write(_cheatfds[1], 't' * _cheats) TypeError: a bytes-like object is required, not 'str' Unfortunately I wasn't able to replicate it, but this is obviously the right fix.
- Loading branch information