X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Fqueue_install.py;h=aa58a64b3cc994d209c9d4b47aba62bb9be96f22;hb=ec257c02a5d62fd27844c70814acd9616b24b4c8;hp=b273536058c603c5bc487d32d33fa4377a9f5716;hpb=e91ef200b8c56134796099d685385f3dfd704859;p=dak.git diff --git a/daklib/queue_install.py b/daklib/queue_install.py index b2735360..aa58a64b 100755 --- a/daklib/queue_install.py +++ b/daklib/queue_install.py @@ -26,6 +26,7 @@ Utility functions for process-upload # 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 * @@ -129,7 +130,7 @@ def do_unembargo(u, summary, short_summary, chg, session=None): 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)) # ################################################################################# # @@ -155,7 +156,7 @@ def do_embargo(u, summary, short_summary, chg, session=None): 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)) ################################################################################