Mercurial > p > roundup > code
diff roundup/backends/back_metakit.py @ 3554:5e70726a86dd
fixed schema migration problem when Class keys were removed
fixed lookup of config in all-hell's-broken-loose cgi.Client error handler
fixed metakit use of is_stopword
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 09 Feb 2006 23:53:11 +0000 |
| parents | 507b2df02956 |
| children | 7b25567f0f54 |
line wrap: on
line diff
--- a/roundup/backends/back_metakit.py Thu Feb 09 04:46:22 2006 +0000 +++ b/roundup/backends/back_metakit.py Thu Feb 09 23:53:11 2006 +0000 @@ -1,4 +1,4 @@ -# $Id: back_metakit.py,v 1.105 2006-02-07 04:14:02 richard Exp $ +# $Id: back_metakit.py,v 1.106 2006-02-09 23:53:10 richard Exp $ '''Metakit backend for Roundup, originally by Gordon McMillan. Known Current Bugs: @@ -46,7 +46,7 @@ import metakit from sessions_dbm import Sessions, OneTimeKeys import re, marshal, os, sys, time, calendar, shutil -from indexer_common import Indexer, is_stopword +from indexer_common import Indexer import locking from roundup.date import Range from blobfiles import files_in_dir @@ -2027,7 +2027,7 @@ wordlist = re.findall(r'\b\w{2,25}\b', text.upper()) words = {} for word in wordlist: - if not is_stopword(word): + if not self.is_stopword(word): words[word] = 1 words = words.keys()
