dabo Commit
Revision 5412
Date: 2009-09-23 10:14:50 -0700 (Wed, 23 Sep 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5412
Changed:
U trunk/ide/ReportDesigner.py
Log:
Trivial fix to the display of some expressions on the report designer surface.
Prior to this, and expr of
self.terms + " "
would display nothing.
Diff:
Modified: trunk/ide/ReportDesigner.py
===================================================================
--- trunk/ide/ReportDesigner.py 2009-09-23 03:45:59 UTC (rev 5411)
+++ trunk/ide/ReportDesigner.py 2009-09-23 17:14:50 UTC (rev 5412)
@@ -86,8 +86,10 @@
else:
for quote in quotes:
if expr.count(quote) >= 2:
- name =
expr[expr.find(quote)+1:]
- name =
name[:name.find(quote)]
+ name_candidate =
expr[expr.find(quote)+1:]
+ name_candidate =
name_candidate[:name_candidate.find(quote)]
+ if
name_candidate.strip():
+ name =
name_candidate
break
if name:
expr = name
_______________________________________________
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]