[dak/master] dak/process_new.py (is_source_in_queue_dir): add the queue path to the changes filename
* 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 | 5 +++++
dak/process_new.py | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6964191..e1c09fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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
to do
diff --git a/dak/process_new.py b/dak/process_new.py
index bd0653e..0e1d5c0 100755
--- a/dak/process_new.py
+++ b/dak/process_new.py
@@ -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
--
1.5.6.3
Reply to: