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

[dak/master 48/50] right variable name



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 daklib/dbconn.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index 4ba23b6..00026a8 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
-- 
1.6.3.3



Reply to: