dabo Commit
Revision 6368
Date: 2011-02-01 16:24:57 -0800 (Tue, 01 Feb 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6368
Changed:
U trunk/dabo/biz/dBizobj.py
Log:
Removed the check for CurrentCursor being None: this would be exceptional
and so an exception should be raised instead.
Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py 2011-02-02 00:20:26 UTC (rev 6367)
+++ trunk/dabo/biz/dBizobj.py 2011-02-02 00:24:57 UTC (rev 6368)
@@ -1638,8 +1638,7 @@
if _forceNoCallback:
changeRowNumCallback = None
- if cursor is not None:
- ret = cursor.getFieldVal(fld, row,
_rowChangeCallback=changeRowNumCallback)
+ ret = cursor.getFieldVal(fld, row,
_rowChangeCallback=changeRowNumCallback)
if oldRow != self.RowNumber:
self._moveToRowNum(oldRow)
_______________________________________________
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]