From: Mark Hymers Date: Fri, 1 Apr 2011 16:17:19 +0000 (+0000) Subject: Don't remove files we previously generated X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=9d06c6ce1937e733531239471c582ce608daef64;p=dak.git Don't remove files we previously generated Signed-off-by: Mark Hymers --- diff --git a/dak/show_new.py b/dak/show_new.py index 4d7e75b7..f50b7853 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -174,6 +174,7 @@ def do_pkg(changes_file): # Have we already processed this? if os.path.exists(htmlfile) and \ os.stat(htmlfile).st_mtime > os.stat(origchanges).st_mtime: + sources.add(htmlname) session.close() return @@ -186,7 +187,6 @@ def do_pkg(changes_file): changes = u.pkg.changes sources.add(htmlname) - for deb_filename, f in files.items(): if deb_filename.endswith(".udeb") or deb_filename.endswith(".deb"): u.binary_file_checks(deb_filename, session)