[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7241 - trunk/gnue-common/src/datasources/drivers/Base
From: |
reinhard |
Subject: |
[gnue] r7241 - trunk/gnue-common/src/datasources/drivers/Base |
Date: |
Mon, 21 Mar 2005 09:52:29 -0600 (CST) |
Author: reinhard
Date: 2005-03-21 09:52:28 -0600 (Mon, 21 Mar 2005)
New Revision: 7241
Modified:
trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py
Log:
Better debugging message for record insertion, removed debugging message for
getRecordCount (this happens *way* too often).
Modified: trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py 2005-03-21
15:51:18 UTC (rev 7240)
+++ trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py 2005-03-21
15:52:28 UTC (rev 7241)
@@ -118,9 +118,7 @@
# returns # of records the
def getRecordCount(self):
- gEnter (8)
- result = self._recordCount > 0 and self._recordCount or
self.getCacheCount()
- return gLeave (8, result)
+ return self._recordCount > 0 and self._recordCount or self.getCacheCount()
# Get a specific record (0=based)
def getRecord(self, record):
@@ -215,7 +213,7 @@
tmsg = _("Attempted to insert into a read only datasource")
raise Exceptions.ReadOnlyError, tmsg
else:
- gDebug (8,'Inserting a blank record')
+ gDebug (8, 'Inserting a blank record in %s' % self)
self._currentRecord += 1
self._cachedRecords.insert(self._currentRecord,
self._createEmptyRecord())
self._recordCount += 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7241 - trunk/gnue-common/src/datasources/drivers/Base,
reinhard <=