[dak/master] dak/process_new.py (is_source_in_queue_dir): access u instead of Upload
2008-09-06 Philipp Kern <pkern@debian.org>
* dak/process_new.py (is_source_in_queue_dir): Access the right
variable to check if the given entry in the queue is the sourceful
upload we are looking for.
---
ChangeLog | 6 ++++++
dak/process_new.py | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ef17b0d..0f82968 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-06 Philipp Kern <pkern@debian.org>
+
+ * dak/process_new.py (is_source_in_queue_dir): Access the right
+ variable to check if the given entry in the queue is the sourceful
+ upload we are looking for.
+
2008-09-02 Joerg Jaspert <joerg@debian.org>
* config/debian/pseudo-packages.description: Added debian-i18n and
diff --git a/dak/process_new.py b/dak/process_new.py
index 6ac1d44..3dd93ad 100755
--- a/dak/process_new.py
+++ b/dak/process_new.py
@@ -822,7 +822,7 @@ def is_source_in_queue_dir(qdir):
u = queue.Upload(Cnf)
u.pkg.changes_file = os.path.join(qdir, entry)
u.update_vars()
- if not Upload.pkg.changes["architecture"].has_key("source"):
+ if not u.pkg.changes["architecture"].has_key("source"):
# another binary upload, ignore
continue
if Upload.pkg.changes["version"] != u.pkg.changes["version"]:
--
1.5.6.3
Reply to: