diff roundup/hyperdb.py @ 128:ce36f2962b94

Fixed handling of passed-in values in form elements (ie. during a drill-down)
author Richard Jones <richard@users.sourceforge.net>
date Sun, 29 Jul 2001 08:27:40 +0000
parents 0791d13baea7
children 204f99944de0
line wrap: on
line diff
--- a/roundup/hyperdb.py	Sun Jul 29 07:01:39 2001 +0000
+++ b/roundup/hyperdb.py	Sun Jul 29 08:27:40 2001 +0000
@@ -1,4 +1,4 @@
-# $Id: hyperdb.py,v 1.7 2001-07-29 07:01:39 richard Exp $
+# $Id: hyperdb.py,v 1.8 2001-07-29 08:27:40 richard Exp $
 
 # standard python modules
 import cPickle, re, string
@@ -387,7 +387,7 @@
         """Return the name of the key property for this class or None."""
         return self.key
 
-    def labelprop(self, nodeid):
+    def labelprop(self):
         ''' Return the property name for a label for the given node.
 
         This method attempts to generate a consistent label for the node.
@@ -551,7 +551,6 @@
                     u.append(entry)
                 l.append((1, k, u))
             elif propclass.isStringType:
-                v = v[0]
                 if '*' in v or '?' in v:
                     # simple glob searching
                     v = v.replace('?', '.')
@@ -789,6 +788,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.7  2001/07/29 07:01:39  richard
+# Added vim command to all source so that we don't get no steenkin' tabs :)
+#
 # Revision 1.6  2001/07/29 05:36:14  richard
 # Cleanup of the link label generation.
 #

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