Mercurial > p > roundup > code
diff roundup/backends/back_anydbm.py @ 4044:27a9906cd8d1
Fix issue2550505.
| author | Stefan Seefeld <stefan@seefeld.name> |
|---|---|
| date | Mon, 16 Feb 2009 22:43:07 +0000 |
| parents | 954971d612ee |
| children | b87d022a2f40 |
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py Mon Feb 16 21:26:29 2009 +0000 +++ b/roundup/backends/back_anydbm.py Mon Feb 16 22:43:07 2009 +0000 @@ -1561,7 +1561,7 @@ "sort" and "group" are (dir, prop) where dir is '+', '-' or None and prop is a prop name or None - "search_matches" is {nodeid: marker} or None + "search_matches" is a sequence type or None The filter must match all properties specificed. If the property value to match is a list: @@ -1721,7 +1721,7 @@ if search_matches is not None: k = [] for v in matches: - if search_matches.has_key(v[0]): + if v[0] in search_matches: k.append(v) matches = k
