]> err.no Git - dak/commitdiff
right variable name
authorMark Hymers <mhy@debian.org>
Sat, 31 Oct 2009 21:48:31 +0000 (21:48 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 31 Oct 2009 21:48:31 +0000 (21:48 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/dbconn.py

index 4ba23b6222ddd1d048113eb554fab66c9fcf268d..00026a8dceb7d16b73b2bc2981af3dbe0d312394 100755 (executable)
@@ -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