Skip to content

Commit

Permalink
Remove now unnecessary mypy ignore
Browse files Browse the repository at this point in the history
This was fixed in <python/mypy#14943>.
  • Loading branch information
legoktm committed Dec 20, 2024
1 parent 87b5f38 commit 8705f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/securedrop_client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def safe_copyfileobj(src_file: gzip.GzipFile, dest_file: BinaryIO, dest_base_pat
check_path_traversal(dest_file.name)
# Ensure directories of dest_file are created safely if they don't exist
safe_mkdir(dest_base_path, Path(dest_file.name).parent)
shutil.copyfileobj(src_file, dest_file) # type: ignore # (pending python/mypy#14943)
shutil.copyfileobj(src_file, dest_file)
Path(dest_file.name).chmod(0o600)


Expand Down

0 comments on commit 8705f93

Please sign in to comment.