X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fshow_new.py;h=674eca391917220e7c297db232c72520be8d2fc6;hb=e2e32f8130e1e9a69acc5a5cb24f9d3de3330a42;hp=895defadb8f71519cd9fa0a152f8b9cf65b25a22;hpb=f56058049885c86071f354d70d69959de8a4cd53;p=dak.git diff --git a/dak/show_new.py b/dak/show_new.py index 895defad..674eca39 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -25,8 +25,8 @@ ################################################################################ -import copy, errno, os, stat, sys, time -import apt_pkg, apt_inst +import copy, os, sys, time +import apt_pkg import examine_package import daklib.database import daklib.queue @@ -106,7 +106,7 @@ def do_pkg(changes_file): changes["suite"] = copy.copy(changes["distribution"]) # Find out what's new - new = daklib.utils.determine_new(changes, files, projectB, 0) + new = daklib.queue.determine_new(changes, files, projectB, 0) stdout_fd = sys.stdout @@ -117,7 +117,7 @@ def do_pkg(changes_file): sys.stdout = open(os.path.join(Cnf["Show-New::HTMLPath"],htmlname),"w") html_header(changes["source"]) - daklib.utils.check_valid(new) + daklib.queue.check_valid(new) examine_package.display_changes(Upload.pkg.changes_file) for pkg in new.keys():