From: Frank Lichtenheld Date: Fri, 30 Oct 2009 22:53:34 +0000 (+0000) Subject: Fix queue-report X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f34c42b450858790ceed048b0ed2f949bddc5fd;p=dak Fix queue-report Since we have no .dak files anymore, parse the changes file directly. Signed-off-by: Frank Lichtenheld --- diff --git a/dak/queue_report.py b/dak/queue_report.py index 8e338e52..c9013a52 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -39,7 +39,7 @@ import glob, os, stat, sys, time import apt_pkg 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 * @@ -301,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