Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move from shutil to directly chmodding the output file
After the previous commit, this is our only use of shutil, which provides a "portable wrapper for chmod" (assuming we needed Windows support) and doesn't actually have type safety since typeshed doesn't accept the use of file descriptors since it isn't documented and won't work with follow_symlinks=False... that we don't use. The regular os functions are simpler and type-safe, so let's just use it. Signed-off-by: Eli Schwartz <[email protected]>
- Loading branch information