|
[Webware-checkins] CVS: Webware/MiddleKit/Run SQLObjectStore.py,1.22,1.23
From: Geoff Talvola <gtalvola@us...> - 2001-08-17 13:41
|
Update of /cvsroot/webware/Webware/MiddleKit/Run In directory usw-pr-cvs1:/tmp/cvs-serv26729/Run Modified Files: SQLObjectStore.py Log Message: fixed bug in fetchObjRef (needs a regression test) Index: SQLObjectStore.py =================================================================== RCS file: /cvsroot/webware/Webware/MiddleKit/Run/SQLObjectStore.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** SQLObjectStore.py 2001/06/22 01:00:35 1.22 --- SQLObjectStore.py 2001/08/17 13:41:29 1.23 *************** *** 334,338 **** clauses = 'where %s=%d' % (klass.sqlIdName(), serialNum) ! objs = self.fetchObjectsOfClass(klass, clauses) if len(objs)>1: raise ValueError, 'Multiple objects.' # @@ 2000-11-22 ce: expand the msg with more information --- 334,338 ---- clauses = 'where %s=%d' % (klass.sqlIdName(), serialNum) ! objs = self.fetchObjectsOfClass(klass, clauses, isDeep=0) if len(objs)>1: raise ValueError, 'Multiple objects.' # @@ 2000-11-22 ce: expand the msg with more information |
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] CVS: Webware/MiddleKit/Run SQLObjectStore.py,1.22,1.23 | Geoff Talvola <gtalvola@us...> |