Mercurial > p > roundup > code
diff roundup/hyperdb.py @ 236:8827f5931ea8
Fixed CGI client change messages...
...so they actually include the properties changed (again).
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 29 Aug 2001 04:47:18 +0000 |
| parents | afd428ba6523 |
| children | ab921dc53ccd |
line wrap: on
line diff
--- a/roundup/hyperdb.py Tue Aug 28 05:58:33 2001 +0000 +++ b/roundup/hyperdb.py Wed Aug 29 04:47:18 2001 +0000 @@ -15,7 +15,7 @@ # 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 @@ -265,7 +265,8 @@ 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: @@ -794,6 +795,9 @@ # # $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 #
