[Zope-CVS] CVS: Products/Ape/lib/apelib/sql - sqlbase.py:1.8
Shane Hathaway
shane@zope.com
Tue, 27 May 2003 09:38:32 -0400
Update of /cvs-repository/Products/Ape/lib/apelib/sql
In directory cvs.zope.org:/tmp/cvs-serv14055
Modified Files:
sqlbase.py
Log Message:
As reported by Adam Groszer, column_defs needs to to be hashable. Convert it to a tuple.
=== Products/Ape/lib/apelib/sql/sqlbase.py 1.7 => 1.8 ===
--- Products/Ape/lib/apelib/sql/sqlbase.py:1.7 Mon May 19 15:32:34 2003
+++ Products/Ape/lib/apelib/sql/sqlbase.py Tue May 27 09:38:31 2003
@@ -34,7 +34,7 @@
if self.column_defs is None:
schema = self.getSchema()
if schema is not None:
- self.column_defs = schema.getColumnDefs()
+ self.column_defs = tuple(schema.getColumnDefs())
def getSchema(self):
return self.schema