dabo Commit
Revision 6423
Date: 2011-02-11 09:46:28 -0800 (Fri, 11 Feb 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6423

Changed:
U   trunk/dabo/biz/dBizobj.py

Log:
Improving the DataStructure changes detection.

Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py   2011-02-11 14:24:22 UTC (rev 6422)
+++ trunk/dabo/biz/dBizobj.py   2011-02-11 17:46:28 UTC (rev 6423)
@@ -993,7 +993,7 @@
                except dException.NoRecordsException:
                        currPK = None
 
-               oldDataStructure = self.DataStructure
+               oldDataStructure = hash(self.DataStructure)
                # run the requery
                uiException = None
                cursor = self._CurrentCursor
@@ -1020,7 +1020,7 @@
 
                if uiException:
                        raise uiException
-               if self.DataStructure != oldDataStructure:
+               if hash(self.DataStructure) != oldDataStructure:
                        self._clearCursorRecord()
 
 



_______________________________________________
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