From 2511e1578c19747ae0b62cb63364ce1fef5ae962 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 4 Sep 2010 11:56:43 +0200 Subject: [PATCH] use the rowcount Signed-off-by: Joerg Jaspert --- dak/control_suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/control_suite.py b/dak/control_suite.py index b862e215..9eb8ae22 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -136,7 +136,7 @@ def britney_changelog(packages, suite, session): brit.write("\n") brit.write("%s\n" % u[1]) pu = u[0] - if len(q): brit.write("\n\n\n") + if q.rowcount: brit.write("\n\n\n") for p in list(set(old.keys()).difference(current.keys())): brit.write("REMOVED: %s %s\n" % (p, old[p])) -- 2.39.5