dabo Commit
Revision 4202
Date: 2008-06-27 05:19:52 -0700 (Fri, 27 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4202
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
Corrected the caught exception class in _setTable().
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2008-06-27 12:17:03 UTC (rev 4201)
+++ trunk/dabo/db/dCursorMixin.py 2008-06-27 12:19:52 UTC (rev 4202)
@@ -2359,7 +2359,7 @@
try:
self._keyField = [fld[0] for fld in
self.getFields(table)
if fld[2] ][0]
- except KeyError:
+ except IndexError:
pass
_______________________________________________
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]