]> err.no Git - dak/commitdiff
dak/process_new.py (is_source_in_queue_dir): add the queue path to the changes filename
authorPhilipp Kern <pkern@debian.org>
Sat, 30 Aug 2008 18:51:15 +0000 (18:51 +0000)
committerPhilipp Kern <pkern@debian.org>
Sat, 30 Aug 2008 18:51:15 +0000 (18:51 +0000)
* dak/process_new.py (is_source_in_queue_dir): join the queue path
  because os.listdir entries come with their path stripped

Signed-off-by: Philipp Kern <pkern@debian.org>
ChangeLog
dak/process_new.py

index 696419106a9f433a5ac8c7769419b0b0fe54009f..e1c09fcb60f2bf15a634f366623fe89a85eaa57a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-30  Philipp Kern  <pkern@debian.org>
+
+       * dak/process_new.py (is_source_in_queue_dir): join the queue path
+       because os.listdir entries come with their path stripped
+
 2008-08-30  Philipp Kern  <pkern@debian.org>
 
        * dak/process_new.py (do_accept_stableupdate): state what we intend
index bd0653e0525d021da9e86b3855ac73bd092330ab..0e1d5c036fae285788d26d606c984263da033a1a 100755 (executable)
@@ -819,7 +819,7 @@ def is_source_in_queue_dir(qdir):
     for entry in entries:
         # read the .dak
         u = queue.Upload(Cnf)
-        u.pkg.changes_file = entry
+        u.pkg.changes_file = os.path.join(qdir, entry)
         u.update_vars()
         if not Upload.pkg.changes["architecture"].has_key("source"):
             # another binary upload, ignore