]> err.no Git - dak/commitdiff
fix show-new
authorTorsten Werner <twerner@dhcp-101.dfw1.kickstart.lan>
Sat, 6 Feb 2010 21:16:45 +0000 (21:16 +0000)
committerTorsten Werner <twerner@dhcp-101.dfw1.kickstart.lan>
Sat, 6 Feb 2010 21:30:15 +0000 (21:30 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/show_new.py

index bcf1300e155fcdb0b0077b68b95366f503bc0b87..5c7e8864263f72928930af51bf64af2a686dc924 100755 (executable)
@@ -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)