[z3-checkins] r18702 - z3/sqlos/trunk
andres at codespeak.net
andres at codespeak.net
Mon Oct 17 10:40:58 CEST 2005
Author: andres
Date: Mon Oct 17 10:40:57 2005
New Revision: 18702
Modified:
z3/sqlos/trunk/annotations.py
Log:
Changed _columns to direct attribute style. Should work with sqlobject 0.6 and 0.7
Modified: z3/sqlos/trunk/annotations.py
==============================================================================
--- z3/sqlos/trunk/annotations.py (original)
+++ z3/sqlos/trunk/annotations.py Mon Oct 17 10:40:57 2005
@@ -13,8 +13,6 @@
class Annotations(SQLObject):
- _columns = [
- StringCol('location', length=255, notNull=1),
- StringCol('key', length=255, notNull=1),
- StringCol('value', notNull=0),
- ]
+ location = StringCol('location', length=255, notNull=1)
+ key = StringCol('key', length=255, notNull=1)
+ value = StringCol('value', notNull=0)
More information about the z3-checkins
mailing list