[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] use copyfile, we want it accessible in that dest



Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 daklib/queue_install.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/daklib/queue_install.py b/daklib/queue_install.py
index 78b827a..1135c13 100755
--- a/daklib/queue_install.py
+++ b/daklib/queue_install.py
@@ -26,7 +26,7 @@ Utility functions for process-upload
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 import os
-from shutil import copy
+from shutil import copyfile
 
 from daklib import utils
 from daklib.dbconn import *
@@ -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():
-                copy(os.path.join(polq.path, f), q.path)
+                copyfile(os.path.join(polq.path, f), q.path)
 #
 #################################################################################
 #
@@ -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():
-                copy(os.path.join(polq.path, f), q.path)
+                copyfile(os.path.join(polq.path, f), q.path)
 
 ################################################################################
 
-- 
1.5.6.5



Reply to: