From: Joerg Jaspert Date: Wed, 24 Feb 2010 19:41:06 +0000 (+0100) Subject: Merge remote branch 'twerner/show-new' into merge X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=205edf5bdc80fae72389ac15646cab9b14be1f0c;hp=607c10f0f75e3fa405250e5ee0f0084a6b28985f;p=dak.git Merge remote branch 'twerner/show-new' into merge * twerner/show-new: fix show-new Signed-off-by: Joerg Jaspert --- diff --git a/dak/show_new.py b/dak/show_new.py index bcf1300e..5c7e8864 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -177,15 +177,13 @@ def do_pkg(changes_file, session): filestoexamine = [] for pkg in new.keys(): for fn in new[pkg]["files"]: - if (files[fn].has_key("new") and - (files[fn]["type"] == "dsc" or - not re_source_ext.match(files[fn]["type"]))): - filestoexamine.append(fn) + filestoexamine.append(fn) html_header(changes["source"], filestoexamine) check_valid(new) - examine_package.display_changes( u.pkg.changes["distribution"], changes_file) + distribution = changes["distribution"].keys()[0] + examine_package.display_changes(distribution, changes_file) for fn in filter(lambda fn: fn.endswith(".dsc"), filestoexamine): examine_package.check_dsc(distribution, fn)