# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
+from shutil import copyfile
from daklib import utils
from daklib.dbconn import *
suite = get_suite(suite_name, session)
for q in suite.copy_queues:
for f in u.pkg.files.keys():
- os.symlink(os.path.join(polq.path, f), os.path.join(q.path, f))
+ copyfile(os.path.join(polq.path, f), os.path.join(q.path, f))
#
#################################################################################
#
suite = get_suite(suite_name, session)
for q in suite.copy_queues:
for f in u.pkg.files.keys():
- os.symlink(os.path.join(polq.path, f), os.path.join(q.path, f))
+ copyfile(os.path.join(polq.path, f), os.path.join(q.path, f))
################################################################################