From 4f4b68c7204b235ddf25b61645a7994ee05548be Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 31 Oct 2009 21:48:31 +0000 Subject: [PATCH] right variable name Signed-off-by: Mark Hymers --- daklib/dbconn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 4ba23b62..00026a8d 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -467,11 +467,11 @@ class BuildQueue(object): if self.copy_files: # We need to copy instead of symlink import utils - utils.copy(targetfile, queuepath) + utils.copy(targetpath, queuepath) # NULL in the fileid field implies a copy qf.fileid = None else: - os.symlink(targetfile, queuepath) + os.symlink(targetpath, queuepath) qf.fileid = poolfile.file_id except OSError: return None -- 2.39.5