Skip to content

Commit

Permalink
Fix mirrored target copying.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jan 12, 2025
1 parent dd41141 commit 058d5cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions law/target/mirrored.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ def __init__(

super().__init__(path, **kwargs)

def _copy_kwargs(self):
kwargs = super()._copy_kwargs()
kwargs["local_read_only"] = self.local_read_only
kwargs["local_sync"] = self.local_sync
return kwargs

@property
def _local_root_depth(self) -> int:
return self.local_target.fs.local_root_depth
Expand Down

0 comments on commit 058d5cf

Please sign in to comment.