Skip to content

Commit cab9e91

Browse files
author
Anthony Baxter
committed
expand an XXX comment
1 parent 325bf29 commit cab9e91

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

roundup/backends/rdbms_common.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rdbms_common.py,v 1.63 2003-10-07 07:17:54 anthonybaxter Exp $
1+
# $Id: rdbms_common.py,v 1.64 2003-10-07 08:34:58 anthonybaxter Exp $
22
''' Relational database (SQL) backend common code.
33
44
Basics:
@@ -191,7 +191,7 @@ def update_class(self, spec, old_spec):
191191
if old_spec[0] != new_spec[0]:
192192
if __debug__:
193193
print >>hyperdb.DEBUG, 'update_class setting keyprop', `spec[0]`
194-
# XXX turn on indexing for the key property
194+
# XXX turn on indexing for the key property.
195195

196196
# detect multilinks that have been removed, and drop their table
197197
old_has = {}
@@ -1630,7 +1630,8 @@ def setkey(self, propname):
16301630
None, or a TypeError is raised. The values of the key property on
16311631
all existing nodes must be unique or a ValueError is raised.
16321632
'''
1633-
# XXX create an index on the key prop column
1633+
# XXX create an index on the key prop column. We should also
1634+
# record that we've created this index in the schema somewhere.
16341635
prop = self.getprops()[propname]
16351636
if not isinstance(prop, String):
16361637
raise TypeError, 'key properties must be String'

0 commit comments

Comments
 (0)