dabo Commit
Revision 6531
Date: 2011-04-04 09:39:11 -0700 (Mon, 04 Apr 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6531
Changed:
U trunk/dabo/lib/datanav/Bizobj.py
Log:
Committed change suggested by Rasmus on dabo-users.
Diff:
Modified: trunk/dabo/lib/datanav/Bizobj.py
===================================================================
--- trunk/dabo/lib/datanav/Bizobj.py 2011-04-04 15:10:01 UTC (rev 6530)
+++ trunk/dabo/lib/datanav/Bizobj.py 2011-04-04 16:39:11 UTC (rev 6531)
@@ -23,7 +23,7 @@
def addField(self, fld):
try:
cursorInfo, alias = fld.split(" as ")
- table, field = cursorInfo.split(".")
+ table, field = cursorInfo.rsplit(".", 1) ## rsplit to
account for schema.table.field setups
except ValueError:
# if fld wasn't sent as the conventional "table.field
as alias",
# then there's nothing to automatically do.
_______________________________________________
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]