]> err.no Git - dak/commitdiff
copyfile wants full names
authorJoerg Jaspert <joerg@debian.org>
Mon, 13 Dec 2010 22:26:52 +0000 (23:26 +0100)
committerJoerg Jaspert <joerg@debian.org>
Mon, 13 Dec 2010 22:26:52 +0000 (23:26 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/queue_install.py

index 1135c137cd1fcb4fec075e4e4aa8eaac029d9aa6..a9c94ae86295fcf11341db29519dd7a6a792a517 100755 (executable)
@@ -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))
 
 ################################################################################