Skip to content

Commit 3594888

Browse files
author
Richard Jones
committed
bug in multilink meant changes might not be detected correctly
1 parent 41a19e6 commit 3594888

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

roundup/hyperdb.py

Lines changed: 8 additions & 1 deletion
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.69.2.1 2002-07-10 06:30:47 richard Exp $
18+
# $Id: hyperdb.py,v 1.69.2.2 2002-09-03 02:55:26 richard Exp $
1919

2020
__doc__ = """
2121
Hyperdatabase implementation, especially field types.
@@ -513,6 +513,10 @@ def get(self, nodeid, propname, default=_marker, cache=1):
513513
else:
514514
return default
515515

516+
# dupe the return list so it can be modified safely
517+
if isinstance(prop, Multilink):
518+
return d[propname]
519+
516520
return d[propname]
517521

518522
# XXX not in spec
@@ -1184,6 +1188,9 @@ def Choice(name, db, *options):
11841188

11851189
#
11861190
# $Log: not supported by cvs2svn $
1191+
# Revision 1.69.2.1 2002/07/10 06:30:47 richard
1192+
# . #571170 ] gdbm deadlock
1193+
#
11871194
# Revision 1.69 2002/06/17 23:15:29 richard
11881195
# Can debug to stdout now
11891196
#

0 commit comments

Comments
 (0)