From: Mark Hymers Date: Sat, 31 Oct 2009 21:48:31 +0000 (+0000) Subject: right variable name X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4f4b68c7204b235ddf25b61645a7994ee05548be;p=dak.git right variable name Signed-off-by: Mark Hymers --- 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