dabo Commit
Revision 5983
Date: 2010-09-09 12:54:48 -0700 (Thu, 09 Sep 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5983
Changed:
U trunk/dabo/lib/reportWriter.py
Log:
Fixed a bug reported by Nate just now.
Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py 2010-09-09 16:08:01 UTC (rev 5982)
+++ trunk/dabo/lib/reportWriter.py 2010-09-09 19:54:48 UTC (rev 5983)
@@ -1976,7 +1976,7 @@
else:
y1 = y + y1
- if obj.__class__.__name__ in ("String",) and
"self.PageCount" in obj["expr"]:
+ if obj.__class__.__name__ in ("String",) and
"self.PageCount" in obj.get("expr", None):
# We'll stuff the pagecount in later
(when we know the value), but we still
# must evaluate the rest of the
expression now, because it could be dependent
# on whatever the current record or
page number is.
_______________________________________________
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]