From: Joerg Jaspert Date: Mon, 13 Dec 2010 22:26:52 +0000 (+0100) Subject: copyfile wants full names X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a165a623caa27f8b3cbcb83eb442f1f196569f1e;p=dak.git copyfile wants full names Signed-off-by: Joerg Jaspert --- diff --git a/daklib/queue_install.py b/daklib/queue_install.py index 1135c137..a9c94ae8 100755 --- a/daklib/queue_install.py +++ b/daklib/queue_install.py @@ -130,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(): - copyfile(os.path.join(polq.path, f), q.path) + copyfile(os.path.join(polq.path, f), os.path.join(q.path, f)) # ################################################################################# # @@ -156,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(): - copyfile(os.path.join(polq.path, f), q.path) + copyfile(os.path.join(polq.path, f), os.path.join(q.path, f)) ################################################################################