Skip to content

Commit

Permalink
Try non-oo syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Feb 7, 2024
1 parent be787d3 commit ca05e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions librarian_server/stores/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def set_for_file(file: Path):

if self.readonly_after_commit:
if file.is_dir():
file.chmod(0o555)
os.chmod(file, 0o555)
else:
file.chmod(0o444)
os.chmod(file, 0o444)

# Set for the top-level file.
set_for_file(resolved_path)
Expand Down

0 comments on commit ca05e37

Please sign in to comment.