Skip to content

Commit 50ce7a8

Browse files
author
Richard Jones
committed
Didn't accomodate new values for new properties
1 parent a1776fa commit 50ce7a8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

roundup/hyperdb.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: hyperdb.py,v 1.56 2002-02-20 05:05:28 richard Exp $
18+
# $Id: hyperdb.py,v 1.57 2002-02-20 05:23:24 richard Exp $
1919

2020
__doc__ = """
2121
Hyperdatabase implementation, especially field types.
@@ -508,7 +508,7 @@ class or a KeyError is raised.
508508

509509
# if the value's the same as the existing value, no sense in
510510
# doing anything
511-
if value == node[key]:
511+
if node.has_key(key) and value == node[key]:
512512
del propvalues[key]
513513
continue
514514

@@ -1083,6 +1083,12 @@ def Choice(name, *options):
10831083

10841084
#
10851085
# $Log: not supported by cvs2svn $
1086+
# Revision 1.56 2002/02/20 05:05:28 richard
1087+
# . Added simple editing for classes that don't define a templated interface.
1088+
# - access using the admin "class list" interface
1089+
# - limited to admin-only
1090+
# - requires the csv module from object-craft (url given if it's missing)
1091+
#
10861092
# Revision 1.55 2002/02/15 07:27:12 richard
10871093
# Oops, precedences around the way w0rng.
10881094
#

0 commit comments

Comments
 (0)