dabo Commit
Revision 5447
Date: 2009-10-01 11:28:31 -0700 (Thu, 01 Oct 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5447
Changed:
U trunk/dabo/lib/reportWriter.py
Log:
I was getting headers printed twice in some cases, because we called
reprintGroupHeaders() and then went ahead and printed again.
Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py 2009-09-30 04:21:02 UTC (rev 5446)
+++ trunk/dabo/lib/reportWriter.py 2009-10-01 18:28:31 UTC (rev 5447)
@@ -1860,6 +1860,8 @@
maxBandHeight = getTotalBandHeight()
if band == "detail" and not
headers_printed:
y = reprintGroupHeaders(y)
+ if band != "detail" and headers_printed:
+ return y
if not deferred:
y -= bandHeight
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]