comparison roundup/backends/back_sqlite.py @ 2144:6c1caf81a108

missed a print
author Richard Jones <richard@users.sourceforge.net>
date Fri, 26 Mar 2004 06:38:10 +0000
parents c49495585c44
children 7e595abb781e
comparison
equal deleted inserted replaced
2143:b29323f75718 2144:6c1caf81a108
1 # $Id: back_sqlite.py,v 1.21 2004-03-26 05:16:03 richard Exp $ 1 # $Id: back_sqlite.py,v 1.22 2004-03-26 06:38:10 richard Exp $
2 '''Implements a backend for SQLite. 2 '''Implements a backend for SQLite.
3 3
4 See https://pysqlite.sourceforge.net/ for pysqlite info 4 See https://pysqlite.sourceforge.net/ for pysqlite info
5 5
6 6
111 print >>hyperdb.DEBUG, 'update_class FIRING for', spec.classname 111 print >>hyperdb.DEBUG, 'update_class FIRING for', spec.classname
112 112
113 # detect multilinks that have been removed, and drop their table 113 # detect multilinks that have been removed, and drop their table
114 old_has = {} 114 old_has = {}
115 for name, prop in old_spec[1]: 115 for name, prop in old_spec[1]:
116 print (name, prop)
117 old_has[name] = 1 116 old_has[name] = 1
118 if new_has(name) or not isinstance(prop, hyperdb.Multilink): 117 if new_has(name) or not isinstance(prop, hyperdb.Multilink):
119 continue 118 continue
120 # it's a multilink, and it's been removed - drop the old 119 # it's a multilink, and it's been removed - drop the old
121 # table. First drop indexes. 120 # table. First drop indexes.

Roundup Issue Tracker: http://roundup-tracker.org/