Skip to content

Commit 95deea3

Browse files
hackdnaCopilot
andauthored
Update mano/sync.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent de3c705 commit 95deea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mano/sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def _makedirs(path: str, umask: int | None = None, exist_ok: bool = True):
347347
os.umask(old_umask)
348348

349349

350-
def _atomic_write(filename: str, content: bytes, overwrite=True, permissions=0o0644):
350+
def _atomic_write(filename: str, content: bytes, overwrite: bool = True, permissions: int = 0o0644):
351351
"""
352352
Write a file by first saving the content to a temporary file first, then
353353
renaming the file. Overwrites silently by default o_o

0 commit comments

Comments
 (0)