From: Philipp Kern Date: Sat, 6 Sep 2008 11:35:42 +0000 (+0000) Subject: dak/process_new.py (is_source_in_queue_dir): access u instead of Upload X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=789eb610d49ecd4dd86c85601681c07c4f67ffb7;p=dak dak/process_new.py (is_source_in_queue_dir): access u instead of Upload 2008-09-06 Philipp Kern * 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. --- diff --git a/ChangeLog b/ChangeLog index ef17b0d4..0f82968c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-06 Philipp Kern + + * 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 * config/debian/pseudo-packages.description: Added debian-i18n and diff --git a/dak/process_new.py b/dak/process_new.py index 6ac1d44d..3dd93ada 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"]: