changeset 2998:7c438646531a

merge from maint-0-7
author Richard Jones <richard@users.sourceforge.net>
date Wed, 08 Dec 2004 03:18:46 +0000
parents 08a17fc4dc01
children eb94211d5ac3
files CHANGES.txt roundup/admin.py
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Wed Dec 08 02:39:02 2004 +0000
+++ b/CHANGES.txt	Wed Dec 08 03:18:46 2004 +0000
@@ -53,6 +53,7 @@
 - apply IE caching "fix" to automatically serve up all pages expired
 - fix typo (sf patch 1076629)
 - fix hyperlinking of items (sf bug 1080251)
+- fix roundup-admin find command handling of Multilinks
 
 
 2004-10-26 0.7.9
--- a/roundup/admin.py	Wed Dec 08 02:39:02 2004 +0000
+++ b/roundup/admin.py	Wed Dec 08 03:18:46 2004 +0000
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 #
-# $Id: admin.py,v 1.85 2004-11-09 23:12:11 richard Exp $
+# $Id: admin.py,v 1.86 2004-12-08 03:18:46 richard Exp $
 
 '''Administration commands for maintaining Roundup trackers.
 '''
@@ -644,7 +644,10 @@
                 values = [value]
             d = props[propname] = {}
             for value in values:
-                d[hyperdb.rawToHyperdb(self.db, cl, None, propname, value)] = 1
+                value = hyperdb.rawToHyperdb(self.db, cl, None, propname, value)
+                if isinstance(value, type([])):
+                    value = value[0]
+                d[value] = 1
 
         # now do the find
         try:

Roundup Issue Tracker: http://roundup-tracker.org/