Skip to content

Commit e3cf39d

Browse files
author
Richard Jones
committed
fix comment, thanks alex
1 parent f8ec122 commit e3cf39d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/backends/indexer_rdbms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: indexer_rdbms.py,v 1.16 2008-08-07 06:05:53 richard Exp $
1+
#$Id: indexer_rdbms.py,v 1.17 2008-08-07 22:02:30 richard Exp $
22
''' This implements the full-text indexer over two RDBMS tables. The first
33
is a mapping of words to occurance IDs. The second maps the IDs to (Class,
44
propname, itemid) instances.
@@ -38,7 +38,7 @@ def add_text(self, identifier, text, mime_type='text/plain'):
3838
if mime_type != 'text/plain':
3939
return
4040

41-
# Ensure all elements of the identifier are integers 'cos the itemid
41+
# Ensure all elements of the identifier are strings 'cos the itemid
4242
# column is varchar even if item ids may be numbers elsewhere in the
4343
# code. ugh.
4444
identifier = map(str, identifier)

0 commit comments

Comments
 (0)