[dak/master] use the rowcount
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/control_suite.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/control_suite.py b/dak/control_suite.py
index b862e21..9eb8ae2 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]))
--
1.5.6.5
Reply to: