From: Joerg Jaspert Date: Sat, 4 Sep 2010 09:56:43 +0000 (+0200) Subject: use the rowcount X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2511e1578c19747ae0b62cb63364ce1fef5ae962;p=dak use the rowcount Signed-off-by: Joerg Jaspert --- 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]))