Skip to content

Commit 767628b

Browse files
author
Richard Jones
committed
fix roundup-admin find command handling of Multilinks
1 parent 70b2435 commit 767628b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Fixed:
77
- apply IE caching "fix" to automatically serve up all pages expired
88
- fix typo (sf patch 1076629)
99
- fix hyperlinking of items (sf bug 1080251)
10+
- fix roundup-admin find command handling of Multilinks
1011

1112

1213
2004-10-26 0.7.9

roundup/admin.py

Lines changed: 5 additions & 2 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.68.2.5 2004-10-20 04:50:15 richard Exp $
19+
# $Id: admin.py,v 1.68.2.6 2004-12-08 03:17:11 richard Exp $
2020

2121
'''Administration commands for maintaining Roundup trackers.
2222
'''
@@ -620,7 +620,10 @@ def do_find(self, args):
620620
values = [value]
621621
d = props[propname] = {}
622622
for value in values:
623-
d[hyperdb.rawToHyperdb(self.db, cl, None, propname, value)] = 1
623+
value = hyperdb.rawToHyperdb(self.db, cl, None, propname, value)
624+
if isinstance(value, type([])):
625+
value = value[0]
626+
d[value] = 1
624627

625628
# now do the find
626629
try:

0 commit comments

Comments
 (0)