dabo Commit
Revision 6106
Date: 2010-10-16 09:06:11 -0700 (Sat, 16 Oct 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6106

Changed:
U   trunk/dabo/lib/reportWriter.py

Log:
Fixed a bug noticed by Ed.


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2010-10-16 15:53:50 UTC (rev 6105)
+++ trunk/dabo/lib/reportWriter.py      2010-10-16 16:06:11 UTC (rev 6106)
@@ -2023,7 +2023,7 @@
                                else:
                                        y1 = y + y1
 
-                               if obj.__class__.__name__ in ("String",) and 
"self.PageCount" in obj.get("expr", None):
+                               if obj.__class__.__name__ in ("String",) and 
"self.PageCount" in obj.get("expr", ""):
                                        # 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]

Reply via email to