From 49722d7624dd907e0ef4da28485c62ce3c8945f3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Jul 17 2009 14:31:38 +0000 Subject: Use copy2 here as well. --- diff --git a/mash/metadata.py b/mash/metadata.py index 2c4cdc2..1b37cab 100644 --- a/mash/metadata.py +++ b/mash/metadata.py @@ -159,7 +159,7 @@ class MetadataNew: try: os.link(file, destpath) except OSError: - shutil.copy(file, destpath) + shutil.copy2(file, destpath) fulllist = self.repomatic.getFileList(self.conf.directory, '.rpm') filelist = {}