[Zope-Checkins] CVS: Products/AdaptableStorage/gateway_sql - SQLUserList.py:1.2

Shane Hathaway shane@zope.com
Tue, 7 Jan 2003 10:14:58 -0500


Update of /cvs-repository/Products/AdaptableStorage/gateway_sql
In directory cvs.zope.org:/tmp/cvs-serv26883/gateway_sql

Modified Files:
	SQLUserList.py 
Log Message:
Fixed bugs:

- NameError in SQLUserList, fixed.

- FSUserList left lines alone that it didn't recognize, which looked
odd when pickles were involved.  Now it removes unparseable lines when
writing.

- UserFolderSerializer wasn't adding all of the unmanaged persistent
objects to the event.


=== Products/AdaptableStorage/gateway_sql/SQLUserList.py 1.1 => 1.2 ===
--- Products/AdaptableStorage/gateway_sql/SQLUserList.py:1.1	Tue Jan  7 00:07:36 2003
+++ Products/AdaptableStorage/gateway_sql/SQLUserList.py	Tue Jan  7 10:14:24 2003
@@ -169,7 +169,7 @@
                 self.execute(self.delete_domains_sql, key=key, id=id)
             elif new_row == old_row:
                 # Don't need to update this row.
-                del new_rows[id]
+                del new_dict[id]
 
         # Insert / update rows.
         for new_row in new_dict.values():