]> err.no Git - dak/commitdiff
use the rowcount
authorJoerg Jaspert <joerg@debian.org>
Sat, 4 Sep 2010 09:56:43 +0000 (11:56 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sat, 4 Sep 2010 09:56:43 +0000 (11:56 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/control_suite.py

index b862e215448167f3bbb696b88b2df4771ef4808e..9eb8ae22ce379f6465d04a940ff2449a112606e1 100755 (executable)
@@ -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]))