Skip to content

Commit

Permalink
Don't download on mirror to mirror copy
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBurgoyne committed Nov 6, 2023
1 parent 3ee38e9 commit 16105b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion S3MP/mirror_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ def copy_to_mp_s3_only(self, dest_mp: MirrorPath):

def copy_to_mp_mirror_only(self, dest_mp: MirrorPath):
"""Copy this file from the mirror to a destination on the mirror."""
self.download_to_mirror()
shutil.copy(self.local_path, dest_mp.local_path)

def copy_to_mp(self, dest_mp: MirrorPath, use_mirror_as_src: bool = False):
Expand Down

0 comments on commit 16105b5

Please sign in to comment.