]> err.no Git - dak/commitdiff
use queue path
authorMark Hymers <mhy@debian.org>
Sun, 15 Nov 2009 17:29:38 +0000 (17:29 +0000)
committerMark Hymers <mhy@debian.org>
Sun, 15 Nov 2009 17:29:38 +0000 (17:29 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/import_new_files.py

index 8e1958b5146cdd94e571c6a45fe8df4936d44920..6cae2f0c7860c1e8c617bb031248a883aa41e6b8 100755 (executable)
@@ -86,7 +86,7 @@ class ImportNewFiles(object):
 
                 files=[]
                 for chg_fn in u.pkg.files.keys():
-                    f = open(chg_fn)
+                    f = open(os.path.join(newq.path, chg_fn))
                     cpf = ChangePendingFile()
                     cpf.filename = chg_fn
                     cpf.size = u.pkg.files[chg_fn]['size']