summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7938787)
raw | patch | inline | side by side (parent: 7938787)
author | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 24 Nov 2009 20:20:14 +0000 (20:20 +0000) | ||
committer | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 24 Nov 2009 20:20:14 +0000 (20:20 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4387 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/indexer_rdbms.py | patch | blob | history |
index 3155c0257daeee2fd655128244941357fb229917..bb89ceca61240c0892e6bd3357e958f0b8d7218b 100644 (file)
str = str.encode("utf-8", "replace")
return str
text = tryencode(text).upper()
- wordlist = [tryencode(w)
+ wordlist = [w.encode("utf-8")
for w in re.findall(r'(?u)\b\w{%d,%d}\b'
% (self.minlength, self.maxlength), text)]
words = set()