diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py
index 3cb774a7635cb935b5217e7e98db54bb49108306..57a95b17a5bd7123e4e8af5f7c373745ee5f09e4 100644 (file)
--- a/roundup/hyperdb.py
+++ b/roundup/hyperdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: hyperdb.py,v 1.18 2001-08-16 07:34:59 richard Exp $
+# $Id: hyperdb.py,v 1.19 2001-08-29 04:47:18 richard Exp $
# standard python modules
import cPickle, re, string
if not node.has_key(key):
raise KeyError, key
- if key == self.key:
+ # check to make sure we're not duplicating an existing key
+ if key == self.key and node[key] != value:
try:
self.lookup(value)
except KeyError:
#
# $Log: not supported by cvs2svn $
+# Revision 1.18 2001/08/16 07:34:59 richard
+# better CGI text searching - but hidden filter fields are disappearing...
+#
# Revision 1.17 2001/08/16 06:59:58 richard
# all searches use re now - and they're all case insensitive
#