X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=c9013a5239c956eb54c5c60e9ed656ca6aa9fe2d;hb=67b6abb95803ccd67d999f5f0174310776927534;hp=c60358f0446c7a413d38b9fcf703cba60a4ff884;hpb=e4fd019394c15b807aa88510e01496b5a2c03e50;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index c60358f0..c9013a52 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -37,10 +37,9 @@ from copy import copy import glob, os, stat, sys, time import apt_pkg -import cgi from daklib import utils -from daklib.changes import Changes +from daklib.queue import Upload from daklib.dbconn import DBConn, has_new_comment from daklib.textutils import fix_maintainer from daklib.dak_exceptions import * @@ -302,9 +301,9 @@ def process_changes_files(changes_files, type, log): # Read in all the .changes files for filename in changes_files: try: - c = Changes() - c.load_dot_dak(filename) - cache[filename] = copy(c.changes) + u = Upload() + u.load_changes(filename) + cache[filename] = copy(u.pkg.changes) cache[filename]["filename"] = filename except Exception, e: print "WARNING: Exception %s" % e