X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Ffstransactions.py;fp=daklib%2Ffstransactions.py;h=d07139f9dc79caa71869e47a42f0f2a20e052e7b;hb=27392942032f853b74e097a7016d958ed93eac9c;hp=33f59c8c570072b989ab7cca301fc664c4c73ba5;hpb=c6debe0e35b2f04ca6ca8c6dbdce9f8c81bc6391;p=dak.git diff --git a/daklib/fstransactions.py b/daklib/fstransactions.py index 33f59c8c..d07139f9 100644 --- a/daklib/fstransactions.py +++ b/daklib/fstransactions.py @@ -57,9 +57,9 @@ class _FilesystemCopyAction(_FilesystemAction): try: os.link(source, self.destination) except OSError: - shutil.copy2(source, self.destination) + shutil.copy(source, self.destination) else: - shutil.copy2(source, self.destination) + shutil.copy(source, self.destination) self.need_cleanup = True if mode is not None: