From 6f34c42b450858790ceed048b0ed2f949bddc5fd Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Fri, 30 Oct 2009 22:53:34 +0000 Subject: [PATCH 1/1] Fix queue-report Since we have no .dak files anymore, parse the changes file directly. Signed-off-by: Frank Lichtenheld --- dak/queue_report.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5