Author: reinhard
Date: 2006-05-15 04:07:22 -0500 (Mon, 15 May 2006)
New Revision: 8460
Modified:
trunk/gnue-appserver/src/data.py
Log:
Fixed some no longer valid calls to cache.write().
Modified: trunk/gnue-appserver/src/data.py
===================================================================
--- trunk/gnue-appserver/src/data.py 2006-05-15 06:28:49 UTC (rev 8459)
+++ trunk/gnue-appserver/src/data.py 2006-05-15 09:07:22 UTC (rev 8460)
@@ -287,7 +287,7 @@
# Create a backup of (None, None) for the record and initialize state. This
# also checks the type of table and row arguments.
- self.write (table, row, u'gnue_id', row, True)
+ self.write_dirty (table, row, u'gnue_id', row)
# Mark this record as 'inserted' and add it to the undo-sequence
self.inserted [key] = (table, row)
@@ -335,7 +335,7 @@
# Finally remove the current 'gnue_id' and set the record state to
# 'deleted'. The former will add this record to the dirty tables, if it was
# clean before.
- self.write (table, row, u'gnue_id', None, True)
+ self.write_dirty (table, row, u'gnue_id', None)
self.__state [key] = 'deleted'
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue