Skip to content

Commit b666710

Browse files
author
Richard Jones
committed
merge from maint-0-8
1 parent af0f658 commit b666710

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature:
88
- added Xapian indexer; replaces standard indexers if Xapian is available
99

1010

11-
2005-??-?? 0.8.3
11+
2005-05-02 0.8.3
1212
Feature:
1313
- chinese translation by limodou
1414

@@ -37,6 +37,7 @@ Fixed:
3737
the csv module appears to have its own ideas about such things (sf bug
3838
1163890)
3939
- fix installation docs referring to old-style configuration variables
40+
- fix roundup-admin "find" for searching Multilinks (sf bug 1189465)
4041

4142

4243
2005-03-03 0.8.2

roundup/admin.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: admin.py,v 1.92 2005-04-28 00:21:41 richard Exp $
19+
# $Id: admin.py,v 1.93 2005-05-02 06:15:25 richard Exp $
2020

2121
'''Administration commands for maintaining Roundup trackers.
2222
'''
@@ -651,9 +651,11 @@ def do_find(self, args):
651651
d = props[propname] = {}
652652
for value in values:
653653
value = hyperdb.rawToHyperdb(self.db, cl, None, propname, value)
654-
if isinstance(value, type([])):
655-
value = value[0]
656-
d[value] = 1
654+
if isinstance(value, list):
655+
for entry in value:
656+
d[entry] = 1
657+
else:
658+
d[value] = 1
657659

658660
# now do the find
659661
try:

0 commit comments

Comments
 (0)