dabo Commit
Revision 4269
Date: 2008-07-10 19:41:02 -0700 (Thu, 10 Jul 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4269

Changed:
U   trunk/dabo/ui/uiwx/dGrid.py

Log:
Removed the erroneous reference to self.Source; dGrid doesn't inherit from 
dDataControlMixinBase.


Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-07-11 00:20:44 UTC (rev 4268)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-07-11 02:41:02 UTC (rev 4269)
@@ -3919,7 +3919,11 @@
                                ret = bo.getDataSet()
                        except AttributeError:
                                # See if the DataSource is a reference
-                               ret = self.Source
+                               try:
+                                       ret = eval(self.DataSource)
+                               except StandardError: 
+                                       # If it fails for any reason, bail.
+                                       pass
                        self._dataSet = ret
                else:
                        try:




_______________________________________________
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