X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_new.py;h=8405aeef9f0fe2391d9e969169b944db7abf179b;hb=84fc8be4951132dde1d06bfb5ee8a22efaeab7ab;hp=dd6a4a434189d1ee7f02716ac57fdc8c3874c476;hpb=b15de7d2f6d361db0fd71588003a6ffee57a1dcd;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py index dd6a4a43..8405aeef 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -166,7 +166,7 @@ def do_pkg(changes_file): sources.add(htmlname) htmlfile = os.path.join(cnf["Show-New::HTMLPath"], htmlname) - if os.path.exists(htmlfile) and + if os.path.exists(htmlfile) and \ os.stat(htmlfile).st_mtime > os.stat(origchanges).st_mtime: session.close() return @@ -180,7 +180,7 @@ def do_pkg(changes_file): u.check_source_against_db(deb_filename, session) u.pkg.changes["suite"] = u.pkg.changes["distribution"] - new, byhand = determine_new(u.pkg.changes_file, u.pkg.changes, files, 0, session) + new, byhand = determine_new(u.pkg.changes_file, u.pkg.changes, files, 0, dsc=u.pkg.dsc, session=session) outfile = open(os.path.join(cnf["Show-New::HTMLPath"],htmlname),"w")